Test Setup Failed
Push — master ( 3bfa70...333906 )
by Gabriel
13:19
created
src/AbstractModels/RecordManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
     }
417 417
 
418 418
     /**
419
-     * @param null $model
419
+     * @param string $model
420 420
      */
421 421
     public function setModel($model)
422 422
     {
@@ -676,7 +676,7 @@  discard block
 block discarded – undo
676 676
     }
677 677
 
678 678
     /**
679
-     * @param $fk
679
+     * @param string $fk
680 680
      */
681 681
     public function setPrimaryFK($fk)
682 682
     {
Please login to merge, or discard this patch.
src/Collections/Collection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
     /**
121 121
      * @param Record $record
122
-     * @param null $index
122
+     * @param string|null $index
123 123
      * @return bool|mixed|null
124 124
      */
125 125
     public function getRecordKey(Record $record, $index = null)
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     }
146 146
 
147 147
     /**
148
-     * @param $key
148
+     * @param string $key
149 149
      * @return mixed
150 150
      */
151 151
     public function setIndexKey($key)
Please login to merge, or discard this patch.
src/Filters/FilterManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     }
102 102
 
103 103
     /**
104
-     * @param mixed $type
104
+     * @param string $type
105 105
      * @return AbstractFilter|AbstractColumnFilter ;
106 106
      */
107 107
     public function newFilter($type)
Please login to merge, or discard this patch.
src/Traits/HasFilters/RecordsTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     protected $filterManager = null;
16 16
 
17 17
     /**
18
-     * @param Request|array $request
18
+     * @param Request $request
19 19
      * @return mixed
20 20
      */
21 21
     public function requestFilters($request)
Please login to merge, or discard this patch.
src/Locator/ModelLocator/Traits/StaticMethodsTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Nip\Records\Locator\ModelLocator\Traits;
4 4
 
5
-use Nip\Records\Locator\Exceptions\InvalidModelException;
6 5
 use Nip\Records\RecordManager;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
src/Locator/Resolver/Pipeline/Stages/AbstractStage.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
     protected $command;
18 18
 
19 19
     /**
20
-     * @param Command $methodCall
21 20
      * @return Command
22 21
      */
23 22
     public function __invoke(Command $command): Command
Please login to merge, or discard this patch.
src/Locator/Resolver/Pipeline/Stages/NamespaceSearch.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Nip\Records\Locator\Resolver\Pipeline\Stages;
4 4
 
5
-use Nip\Records\AbstractModels\RecordManager;
6
-
7 5
 /**
8 6
  * Class NamespaceSearch
9 7
  * @package Nip\Records\Locator\Resolver\Pipeline\Stages
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param $alias
54
-     * @return array
53
+     * @param string $alias
54
+     * @return string[]
55 55
      */
56 56
     public function buildAliasVariations($alias)
57 57
     {
Please login to merge, or discard this patch.
src/Relations/Relation.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Nip\Database\Query\Select as Query;
8 8
 use Nip\HelperBroker;
9 9
 use Exception;
10
-use Nip\Records\Collections\Collection;
11 10
 use Nip\Records\Collections\Collection as RecordCollection;
12 11
 use Nip\Records\Locator\Exceptions\InvalidModelException;
13 12
 use Nip\Records\Locator\ModelLocator;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
     }
219 219
 
220 220
     /**
221
-     * @param Record|HasRelationsRecordTrait $item
221
+     * @param Record $item
222 222
      * @return $this
223 223
      */
224 224
     public function setItem(Record $item)
Please login to merge, or discard this patch.
src/Relations/Traits/HasMorphTypeTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @param null $morphTypeField
65
+     * @param string $morphTypeField
66 66
      * @return void
67 67
      */
68 68
     public function setMorphTypeField($morphTypeField)
Please login to merge, or discard this patch.