Completed
Push — master ( dd341e...ba6dcb )
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
 
84 84
     /**
85 85
      * @param Collection $collection
86
-     * @param $manager
87
-     * @return Query
86
+     * @param RecordManager $manager
87
+     * @return \Nip\Database\Query\AbstractQuery
88 88
      * @throws Exception
89 89
      */
90 90
     public function getEagerQueryType(Collection $collection, $manager)
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
     /** @noinspection PhpMissingParentCallCommonInspection
120 120
      * @param Record $record
121
-     * @return array
121
+     * @return string
122 122
      * @throws \Exception
123 123
      */
124 124
     protected function getDictionaryKey(Record $record)
Please login to merge, or discard this patch.