Completed
Push — master ( 0ba58c...dd341e )
by Gabriel
07:12
created
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/Relations/HasOneOrMany.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Nip\Records\Relations;
4 4
 
5
-use Nip\Database\Query\Select as Query;
6 5
 use Nip\HelperBroker;
7 6
 use Nip\Records\AbstractModels\Record as Record;
8 7
 use Nip\Records\Collections\Associated as AssociatedCollection;
9
-use Nip\Records\Collections\Collection;
10 8
 use Nip\Records\Collections\Collection as RecordCollection;
11 9
 use Nip\Records\Relations\Traits\HasCollectionResults;
12 10
 
Please login to merge, or discard this patch.
src/Relations/MorphTo.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@
 block discarded – undo
78 78
 
79 79
     /**
80 80
      * @param Collection $collection
81
-     * @param $manager
82
-     * @return Query
81
+     * @param \Nip\Records\RecordManager $manager
82
+     * @return \Nip\Database\Query\AbstractQuery
83 83
      * @throws Exception
84 84
      */
85 85
     public function getEagerQueryType(Collection $collection, $manager)
Please login to merge, or discard this patch.