@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SilverStripe\Control; |
4 | 4 | |
5 | 5 | use InvalidArgumentException; |
6 | -use Monolog\Formatter\FormatterInterface; |
|
7 | 6 | use Monolog\Handler\HandlerInterface; |
8 | 7 | use SilverStripe\Core\Convert; |
9 | 8 | use SilverStripe\Core\Injector\Injectable; |
@@ -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 | { |
@@ -993,6 +993,7 @@ discard block |
||
993 | 993 | * |
994 | 994 | * @param string $name |
995 | 995 | * @param mixed $argument,... arguments to pass to the constructor |
996 | + * @param string $argument |
|
996 | 997 | * @return mixed A new instance of the specified object |
997 | 998 | */ |
998 | 999 | public function create($name, $argument = null) |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Common method for setting up form, since that will always be a dependency for the validator. |
21 | 21 | * |
22 | - * @param array $fieldNames |
|
22 | + * @param string[] $fieldNames |
|
23 | 23 | * @return Form |
24 | 24 | */ |
25 | 25 | protected function getForm(array $fieldNames = array()) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SilverStripe\Logging\Tests; |
4 | 4 | |
5 | 5 | use Monolog\Handler\HandlerInterface; |
6 | -use PhpParser\Node\Scalar\MagicConst\Dir; |
|
7 | 6 | use SilverStripe\Control\Director; |
8 | 7 | use SilverStripe\Core\Injector\Injector; |
9 | 8 | use SilverStripe\Dev\SapphireTest; |
@@ -19,6 +19,11 @@ |
||
19 | 19 | parent::__construct(); |
20 | 20 | } |
21 | 21 | |
22 | + /** |
|
23 | + * @param ManifestFileFinder $finder |
|
24 | + * @param null|string $base |
|
25 | + * @param string[] $expect |
|
26 | + */ |
|
22 | 27 | public function assertFinderFinds($finder, $base, $expect, $message = null) |
23 | 28 | { |
24 | 29 | if (!$base) { |