Completed
Push — master ( 4ac004...470d43 )
by Gabriel
06:41
created
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/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/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 1 patch
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.
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.
tests/RecordTest.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\Tests;
4 4
 
5
-use Mockery as m;
6 5
 use Nip\Database\Connections\Connection;
7 6
 use Nip\Records\Record;
8 7
 use Nip\Records\RecordManager as Records;
Please login to merge, or discard this patch.
tests/Relations/MorphToManyTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace Nip\Records\Tests\Relations;
4 4
 
5 5
 use Mockery as m;
6
-use Nip\Container\Container;
7
-use Nip\Database\Connections\Connection;
8 6
 use Nip\Records\Record;
9 7
 use Nip\Records\RecordManager;
10 8
 use Nip\Records\Relations\MorphToMany;
Please login to merge, or discard this patch.
src/Navigator/Pagination/AbstractPaginator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @return mixed
127
+     * @return integer
128 128
      */
129 129
     public function getPages()
130 130
     {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     }
153 153
 
154 154
     /**
155
-     * @return float|int
155
+     * @return integer
156 156
      */
157 157
     public function getLimitStart()
158 158
     {
Please login to merge, or discard this patch.