Zend Framework

typo in Zend_ProgressBar_Adapter ::notify phpdoc comment

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.7.5
  • Fix Version/s: 1.7.6
  • Component/s: Zend_ProgressBar
  • Labels:
    None
  • Language:
    English
  • Tags:

Description

/**
     * Notify the adapter about an update
     *
     * @param  float   $current       Current progress value
     * @param  float   $max           Max progress value
     * @param  flaot   $percent       Current percent value
     * @param  integer $timeTaken     Taken time in seconds
     * @param  integer $timeRemaining Remaining time in seconds
     * @param  string  $text          Status text
     * @return void
     */
    abstract public function notify($current, $max, $percent, $timeTaken, $timeRemaining, $text);

Float is spelt as 'flaot' instead of 'float'. Note this typo exists in the Adapters that extend Zend_ProgressBar_Adapter such as Zend_ProgressBar_Adapter_JsPush, Zend_ProgressBar_Adapter_JsPull and Zend_ProgressBar_Adapter_Console.

Activity

Hide
Satoru Yoshida added a comment -

correct from flaot to float in phpDoc at SVN r14099

Show
Satoru Yoshida added a comment - correct from flaot to float in phpDoc at SVN r14099
Hide
Satoru Yoshida added a comment -

It will be released 1.7.6 or later.

Show
Satoru Yoshida added a comment - It will be released 1.7.6 or later.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
Not Specified
Original Estimate - Not Specified
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
20m
Time Spent - 20 minutes