@@ -23,8 +23,6 @@ discard block |
||
| 23 | 23 | * $list = DataList::create('SiteTree'); |
| 24 | 24 | * $list = SiteTree::get(); |
| 25 | 25 | * |
| 26 | - * @param string $class the class name |
|
| 27 | - * @param mixed $arguments,... arguments to pass to the constructor |
|
| 28 | 26 | * @return static |
| 29 | 27 | */ |
| 30 | 28 | public static function create() { |
@@ -47,7 +45,6 @@ discard block |
||
| 47 | 45 | * way to access instance methods which don't rely on instance |
| 48 | 46 | * data (e.g. the custom SilverStripe static handling). |
| 49 | 47 | * |
| 50 | - * @param string $className Optional classname (if called on Object directly) |
|
| 51 | 48 | * @return static The singleton instance |
| 52 | 49 | */ |
| 53 | 50 | public static function singleton() { |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | * all results into an array |
| 365 | 365 | * |
| 366 | 366 | * @param string $method the method name to call |
| 367 | - * @param mixed $argument a single argument to pass |
|
| 367 | + * @param string $argument a single argument to pass |
|
| 368 | 368 | * @return mixed |
| 369 | 369 | * @todo integrate inheritance rules |
| 370 | 370 | */ |
@@ -387,7 +387,6 @@ discard block |
||
| 387 | 387 | * The extension methods are defined during {@link __construct()} in {@link defineMethods()}. |
| 388 | 388 | * |
| 389 | 389 | * @param string $method the name of the method to call on each extension |
| 390 | - * @param mixed $a1,... up to 7 arguments to be passed to the method |
|
| 391 | 390 | * @return array |
| 392 | 391 | */ |
| 393 | 392 | public function extend($method, &$a1=null, &$a2=null, &$a3=null, &$a4=null, &$a5=null, &$a6=null, &$a7=null) { |