Completed
Push — master ( c5047e...3a177f )
by Gabriel
03:52
created
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
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @return array
53
+     * @return string[]
54 54
      */
55 55
     public function buildAliasVariations()
56 56
     {
Please login to merge, or discard this patch.
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.
src/Relations/Relation.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     }
200 200
 
201 201
     /**
202
-     * @param $name
202
+     * @param string $name
203 203
      * @return RecordManager
204 204
      * @throws InvalidModelException
205 205
      */
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     }
218 218
 
219 219
     /**
220
-     * @param Record|HasRelationsRecordTrait $item
220
+     * @param Record $item
221 221
      * @return $this
222 222
      */
223 223
     public function setItem(Record $item)
Please login to merge, or discard this 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.