Completed
Push — fix-2494 ( 3153ee...40d9bb )
by Sam
13:43 queued 06:38
created
src/Control/HTTPResponse.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Core/Injector/Injector.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
tests/php/Forms/ValidatorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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())
Please login to merge, or discard this patch.
tests/php/Logging/HTTPOutputHandlerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
tests/php/Core/Manifest/ManifestFileFinderTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -19,6 +19,11 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.