@@ -354,7 +354,7 @@ discard block |
||
| 354 | 354 | * |
| 355 | 355 | * @param string $property |
| 356 | 356 | * the name of the property |
| 357 | - * @param object $object |
|
| 357 | + * @param string $object |
|
| 358 | 358 | * the object to be set |
| 359 | 359 | */ |
| 360 | 360 | public function addAutoProperty($property, $object) { |
@@ -448,7 +448,7 @@ discard block |
||
| 448 | 448 | * The name of the service to update the definition for |
| 449 | 449 | * @param string $property |
| 450 | 450 | * The name of the property to update. |
| 451 | - * @param mixed $value |
|
| 451 | + * @param string $value |
|
| 452 | 452 | * The value to set |
| 453 | 453 | * @param boolean $append |
| 454 | 454 | * Whether to append (the default) when the property is an array |
@@ -753,6 +753,7 @@ discard block |
||
| 753 | 753 | * |
| 754 | 754 | * Will recursively call hasService for each depth of dotting |
| 755 | 755 | * |
| 756 | + * @param string $name |
|
| 756 | 757 | * @return string |
| 757 | 758 | * The name of the service (as it might be different from the one passed in) |
| 758 | 759 | */ |
@@ -929,8 +930,6 @@ discard block |
||
| 929 | 930 | * |
| 930 | 931 | * @param string $name |
| 931 | 932 | * Name of the class to create an object of |
| 932 | - * @param array $args |
|
| 933 | - * Arguments to pass to the constructor |
|
| 934 | 933 | * @return mixed |
| 935 | 934 | */ |
| 936 | 935 | public function createWithArgs($name, $constructorArgs) { |
@@ -247,6 +247,10 @@ discard block |
||
| 247 | 247 | * match. The caller must trim matching lines from the beginning and end |
| 248 | 248 | * of the portions it is going to specify. |
| 249 | 249 | */ |
| 250 | + |
|
| 251 | + /** |
|
| 252 | + * @param double $nchunks |
|
| 253 | + */ |
|
| 250 | 254 | public function _diag ($xoff, $xlim, $yoff, $ylim, $nchunks) { |
| 251 | 255 | $flip = false; |
| 252 | 256 | |
@@ -357,6 +361,11 @@ discard block |
||
| 357 | 361 | * Note that XLIM, YLIM are exclusive bounds. |
| 358 | 362 | * All line numbers are origin-0 and discarded lines are not counted. |
| 359 | 363 | */ |
| 364 | + |
|
| 365 | + /** |
|
| 366 | + * @param integer $xoff |
|
| 367 | + * @param integer $yoff |
|
| 368 | + */ |
|
| 360 | 369 | public function _compareseq ($xoff, $xlim, $yoff, $ylim) { |
| 361 | 370 | // Slide down the bottom initial diagonal. |
| 362 | 371 | while ($xoff < $xlim && $yoff < $ylim |
@@ -554,7 +563,7 @@ discard block |
||
| 554 | 563 | * |
| 555 | 564 | * $diff = new Diff($lines1, $lines2); |
| 556 | 565 | * $rev = $diff->reverse(); |
| 557 | - * @return object A Diff object representing the inverse of the |
|
| 566 | + * @return Diff A Diff object representing the inverse of the |
|
| 558 | 567 | * original diff. |
| 559 | 568 | */ |
| 560 | 569 | public function reverse () { |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | 16 | * Creates a copy whether in PHP5 or PHP4. |
| 17 | - * @param object $object Thing to copy. |
|
| 17 | + * @param SimpleFormTag $object Thing to copy. |
|
| 18 | 18 | * @return object A copy. |
| 19 | 19 | * @access public |
| 20 | 20 | * @static |
@@ -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 @@ |
||
| 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 | { |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * Set a different instance than {@link Upload_Validator} |
| 103 | 103 | * for this upload session. |
| 104 | 104 | * |
| 105 | - * @param object $validator |
|
| 105 | + * @param Upload_Validator $validator |
|
| 106 | 106 | */ |
| 107 | 107 | public function setValidator($validator) { |
| 108 | 108 | $this->validator = $validator; |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | * |
| 224 | 224 | * @param array $tmpFile |
| 225 | 225 | * @param File $file |
| 226 | - * @return Boolean |
|
| 226 | + * @return boolean|string |
|
| 227 | 227 | */ |
| 228 | 228 | public function loadIntoFile($tmpFile, $file, $folderPath = false) { |
| 229 | 229 | $this->file = $file; |
@@ -231,7 +231,8 @@ discard block |
||
| 231 | 231 | } |
| 232 | 232 | |
| 233 | 233 | /** |
| 234 | - * @return Boolean |
|
| 234 | + * @param boolean $bool |
|
| 235 | + * @return boolean|null |
|
| 235 | 236 | */ |
| 236 | 237 | public function setReplaceFile($bool) { |
| 237 | 238 | $this->replaceFile = $bool; |
@@ -295,7 +296,7 @@ discard block |
||
| 295 | 296 | /** |
| 296 | 297 | * Determines wether previous operations caused an error. |
| 297 | 298 | * |
| 298 | - * @return boolean |
|
| 299 | + * @return integer |
|
| 299 | 300 | */ |
| 300 | 301 | public function isError() { |
| 301 | 302 | return (count($this->errors)); |