@@ -310,6 +310,9 @@ |
||
310 | 310 | |
311 | 311 | private static $method_from_cache = array(); |
312 | 312 | |
313 | + /** |
|
314 | + * @param string $method |
|
315 | + */ |
|
313 | 316 | public static function has_method_from($class, $method, $compclass) |
314 | 317 | { |
315 | 318 | $lClass = strtolower($class); |
@@ -190,7 +190,7 @@ |
||
190 | 190 | /** |
191 | 191 | * Ensure that the query is ready to execute. |
192 | 192 | * |
193 | - * @param array|null $queriedColumns Any columns to filter the query by |
|
193 | + * @param string[] $queriedColumns Any columns to filter the query by |
|
194 | 194 | * @return SQLSelect The finalised sql query |
195 | 195 | */ |
196 | 196 | public function getFinalisedQuery($queriedColumns = null) |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | * |
372 | 372 | * @param string $property |
373 | 373 | * the name of the property |
374 | - * @param object $object |
|
374 | + * @param string $object |
|
375 | 375 | * the object to be set |
376 | 376 | * @return $this |
377 | 377 | */ |
@@ -466,7 +466,7 @@ discard block |
||
466 | 466 | * The name of the service to update the definition for |
467 | 467 | * @param string $property |
468 | 468 | * The name of the property to update. |
469 | - * @param mixed $value |
|
469 | + * @param string $value |
|
470 | 470 | * The value to set |
471 | 471 | * @param boolean $append |
472 | 472 | * Whether to append (the default) when the property is an array |
@@ -788,7 +788,7 @@ discard block |
||
788 | 788 | /** |
789 | 789 | * @deprecated 4.0.0:5.0.0 Use Injector::has() instead |
790 | 790 | * @param $name |
791 | - * @return string |
|
791 | + * @return boolean |
|
792 | 792 | */ |
793 | 793 | public function hasService($name) |
794 | 794 | { |
@@ -997,6 +997,7 @@ discard block |
||
997 | 997 | * |
998 | 998 | * @param string $name |
999 | 999 | * @param mixed $argument,... arguments to pass to the constructor |
1000 | + * @param string $argument |
|
1000 | 1001 | * @return mixed A new instance of the specified object |
1001 | 1002 | */ |
1002 | 1003 | public function create($name, $argument = null) |