@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | * Set the default autoloader implementation |
139 | 139 | * |
140 | 140 | * @param string|array $callback PHP callback |
141 | - * @return void |
|
141 | + * @return Zend_Loader_Autoloader |
|
142 | 142 | */ |
143 | 143 | public function setDefaultAutoloader($callback) |
144 | 144 | { |
@@ -371,8 +371,8 @@ discard block |
||
371 | 371 | /** |
372 | 372 | * Add an autoloader to the beginning of the stack |
373 | 373 | * |
374 | - * @param object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation |
|
375 | - * @param string|array $namespace Specific namespace(s) under which to register callback |
|
374 | + * @param Zend_Loader_Autoloader_Resource $callback PHP callback or Zend_Loader_Autoloader_Interface implementation |
|
375 | + * @param string $namespace Specific namespace(s) under which to register callback |
|
376 | 376 | * @return Zend_Loader_Autoloader |
377 | 377 | */ |
378 | 378 | public function unshiftAutoloader($callback, $namespace = '') |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | /** |
395 | 395 | * Append an autoloader to the autoloader stack |
396 | 396 | * |
397 | - * @param object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation |
|
397 | + * @param string[] $callback PHP callback or Zend_Loader_Autoloader_Interface implementation |
|
398 | 398 | * @param string|array $namespace Specific namespace(s) under which to register callback |
399 | 399 | * @return Zend_Loader_Autoloader |
400 | 400 | */ |
@@ -417,7 +417,7 @@ discard block |
||
417 | 417 | /** |
418 | 418 | * Remove an autoloader from the autoloader stack |
419 | 419 | * |
420 | - * @param object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation |
|
420 | + * @param string[] $callback PHP callback or Zend_Loader_Autoloader_Interface implementation |
|
421 | 421 | * @param null|string|array $namespace Specific namespace(s) from which to remove autoloader |
422 | 422 | * @return Zend_Loader_Autoloader |
423 | 423 | */ |
@@ -467,7 +467,7 @@ discard block |
||
467 | 467 | * Internal autoloader implementation |
468 | 468 | * |
469 | 469 | * @param string $class |
470 | - * @return bool |
|
470 | + * @return string|false |
|
471 | 471 | */ |
472 | 472 | protected function _autoload($class) |
473 | 473 | { |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | * Helper method to calculate the correct class path |
137 | 137 | * |
138 | 138 | * @param string $class |
139 | - * @return False if not matched other wise the correct path |
|
139 | + * @return false|string if not matched other wise the correct path |
|
140 | 140 | */ |
141 | 141 | public function getClassPath($class) |
142 | 142 | { |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | /** |
431 | 431 | * Get default resource type to use when calling load() |
432 | 432 | * |
433 | - * @return string|null |
|
433 | + * @return string |
|
434 | 434 | */ |
435 | 435 | public function getDefaultResourceType() |
436 | 436 | { |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | * Whether or not a Plugin by a specific name is loaded |
284 | 284 | * |
285 | 285 | * @param string $name |
286 | - * @return Zend_Loader_PluginLoader |
|
286 | + * @return boolean |
|
287 | 287 | */ |
288 | 288 | public function isLoaded($name) |
289 | 289 | { |
@@ -456,7 +456,7 @@ discard block |
||
456 | 456 | /** |
457 | 457 | * Retrieve class file cache path |
458 | 458 | * |
459 | - * @return string|null |
|
459 | + * @return string |
|
460 | 460 | */ |
461 | 461 | public static function getIncludeFileCache() |
462 | 462 | { |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | * requested within HTTP |
324 | 324 | * |
325 | 325 | * @param string|Zend_Locale $locale Locale to set |
326 | - * @param float $quality The quality to set from 0 to 1 |
|
326 | + * @param integer $quality The quality to set from 0 to 1 |
|
327 | 327 | * @throws Zend_Locale_Exception When a autolocale was given |
328 | 328 | * @throws Zend_Locale_Exception When a unknown locale was given |
329 | 329 | * @return void |
@@ -688,7 +688,7 @@ discard block |
||
688 | 688 | * |
689 | 689 | * @param string $value Name to get detailed information about |
690 | 690 | * @param string $locale (Optional) Locale for language translation |
691 | - * @return array |
|
691 | + * @return string|false |
|
692 | 692 | * @deprecated |
693 | 693 | */ |
694 | 694 | public static function getLanguageTranslation($value, $locale = null) |
@@ -702,7 +702,7 @@ discard block |
||
702 | 702 | * |
703 | 703 | * @param string $value Name to get detailed information about |
704 | 704 | * @param string $locale (Optional) locale for script translation |
705 | - * @return array |
|
705 | + * @return string|false |
|
706 | 706 | * @deprecated |
707 | 707 | */ |
708 | 708 | public static function getScriptTranslation($value, $locale = null) |
@@ -716,7 +716,7 @@ discard block |
||
716 | 716 | * |
717 | 717 | * @param string $value Name to get detailed information about |
718 | 718 | * @param string|Zend_Locale $locale (Optional) Locale for country translation |
719 | - * @return array |
|
719 | + * @return string|false |
|
720 | 720 | * @deprecated |
721 | 721 | */ |
722 | 722 | public static function getCountryTranslation($value, $locale = null) |
@@ -731,7 +731,7 @@ discard block |
||
731 | 731 | * |
732 | 732 | * @param string $value Name to get detailed information about |
733 | 733 | * @param string|Zend_Locale $locale (Optional) Locale for territory translation |
734 | - * @return array |
|
734 | + * @return string|false |
|
735 | 735 | * @deprecated |
736 | 736 | */ |
737 | 737 | public static function getTerritoryTranslation($value, $locale = null) |
@@ -1084,7 +1084,6 @@ discard block |
||
1084 | 1084 | * |
1085 | 1085 | * Standard Searchorder is Browser, Environment, Default |
1086 | 1086 | * |
1087 | - * @param string $searchorder (Optional) Searchorder |
|
1088 | 1087 | * @return array Returns an array of all detected locales |
1089 | 1088 | */ |
1090 | 1089 | public static function getOrder($order = null) |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | /** |
276 | 276 | * Internal function for checking the locale |
277 | 277 | * |
278 | - * @param string|Zend_Locale $locale Locale to check |
|
278 | + * @param string $locale Locale to check |
|
279 | 279 | * @return string |
280 | 280 | */ |
281 | 281 | private static function _checkLocale($locale) |
@@ -1501,7 +1501,6 @@ discard block |
||
1501 | 1501 | /** |
1502 | 1502 | * Internal method to check if the given cache supports tags |
1503 | 1503 | * |
1504 | - * @param Zend_Cache $cache |
|
1505 | 1504 | */ |
1506 | 1505 | private static function _getTagSupportForCache() |
1507 | 1506 | { |
@@ -292,7 +292,6 @@ discard block |
||
292 | 292 | * ##0.00 -> 12345.12345 -> 12345.12 |
293 | 293 | * ##,##0.00 -> 12345.12345 -> 12,345.12 |
294 | 294 | * |
295 | - * @param string $input Localized number string |
|
296 | 295 | * @param array $options Options: number_format, locale, precision. See {@link setOptions()} for details. |
297 | 296 | * @return string locale formatted number |
298 | 297 | * @throws Zend_Locale_Exception |
@@ -488,6 +487,9 @@ discard block |
||
488 | 487 | return (string) $format; |
489 | 488 | } |
490 | 489 | |
490 | + /** |
|
491 | + * @param string $value |
|
492 | + */ |
|
491 | 493 | private static function _seperateFormat($format, $value, $precision) |
492 | 494 | { |
493 | 495 | if (iconv_strpos($format, ';') !== false) { |
@@ -644,7 +646,6 @@ discard block |
||
644 | 646 | /** |
645 | 647 | * Alias for getNumber |
646 | 648 | * |
647 | - * @param string $value Number to localize |
|
648 | 649 | * @param array $options Options: locale, precision. See {@link setOptions()} for details. |
649 | 650 | * @return float |
650 | 651 | */ |
@@ -671,7 +672,6 @@ discard block |
||
671 | 672 | * Returns if a float was found |
672 | 673 | * Alias for isNumber() |
673 | 674 | * |
674 | - * @param string $input Localized number string |
|
675 | 675 | * @param array $options Options: locale. See {@link setOptions()} for details. |
676 | 676 | * @return boolean Returns true if a number was found |
677 | 677 | */ |
@@ -719,7 +719,6 @@ discard block |
||
719 | 719 | /** |
720 | 720 | * Returns if a integer was found |
721 | 721 | * |
722 | - * @param string $input Localized number string |
|
723 | 722 | * @param array $options Options: locale. See {@link setOptions()} for details. |
724 | 723 | * @return boolean Returns true if a integer was found |
725 | 724 | */ |
@@ -1103,7 +1102,7 @@ discard block |
||
1103 | 1102 | * @param string $number Date string (modified) |
1104 | 1103 | * @param array $monthlist List of month names |
1105 | 1104 | * |
1106 | - * @return int|false Position of replaced string (false if nothing replaced) |
|
1105 | + * @return string Position of replaced string (false if nothing replaced) |
|
1107 | 1106 | */ |
1108 | 1107 | protected static function _replaceMonth(&$number, $monthlist) |
1109 | 1108 | { |
@@ -61,6 +61,8 @@ discard block |
||
61 | 61 | * round(0.36665, 4); |
62 | 62 | * then try: |
63 | 63 | * Zend_Locale_Math::round('639.795', 2); |
64 | + * @param string $op1 |
|
65 | + * @return integer |
|
64 | 66 | */ |
65 | 67 | public static function round($op1, $precision = 0) |
66 | 68 | { |
@@ -337,7 +339,7 @@ discard block |
||
337 | 339 | * @param string $op1 |
338 | 340 | * @param string $op2 |
339 | 341 | * @param integer $scale |
340 | - * @return string |
|
342 | + * @return integer |
|
341 | 343 | */ |
342 | 344 | public static function Comp($op1, $op2, $scale = null) |
343 | 345 | { |
@@ -54,6 +54,11 @@ discard block |
||
54 | 54 | public static $defaultPrecision; |
55 | 55 | |
56 | 56 | |
57 | + /** |
|
58 | + * @param string $op1 |
|
59 | + * @param string $op2 |
|
60 | + * @param integer $scale |
|
61 | + */ |
|
57 | 62 | public static function Add($op1, $op2, $scale = null) |
58 | 63 | { |
59 | 64 | if ($scale === null) { |
@@ -77,6 +82,11 @@ discard block |
||
77 | 82 | return self::round(self::normalize($result), $scale); |
78 | 83 | } |
79 | 84 | |
85 | + /** |
|
86 | + * @param string $op1 |
|
87 | + * @param string $op2 |
|
88 | + * @param integer $scale |
|
89 | + */ |
|
80 | 90 | public static function Sub($op1, $op2, $scale = null) |
81 | 91 | { |
82 | 92 | if ($scale === null) { |
@@ -563,7 +563,7 @@ discard block |
||
563 | 563 | * Load translation data |
564 | 564 | * |
565 | 565 | * @param mixed $data |
566 | - * @param string|Zend_Locale $locale |
|
566 | + * @param string $locale |
|
567 | 567 | * @param array $options (optional) |
568 | 568 | * @return array |
569 | 569 | */ |
@@ -577,7 +577,6 @@ discard block |
||
577 | 577 | * language is replaced and added otherwise |
578 | 578 | * |
579 | 579 | * @see Zend_Locale |
580 | - * @param array|Zend_Config $content Translation data to add |
|
581 | 580 | * @throws Zend_Translate_Exception |
582 | 581 | * @return Zend_Translate_Adapter Provides fluent interface |
583 | 582 | */ |
@@ -981,7 +980,6 @@ discard block |
||
981 | 980 | /** |
982 | 981 | * Internal method to check if the given cache supports tags |
983 | 982 | * |
984 | - * @param Zend_Cache $cache |
|
985 | 983 | */ |
986 | 984 | private static function _getTagSupportForCache() |
987 | 985 | { |