Test Setup Failed
Push — master ( 3bfa70...333906 )
by Gabriel
13:19
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/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.
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.
src/Relations/HasOneOrMany.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,10 @@
 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_Helper_Arrays as ArraysHelper;
8 7
 use Nip\Records\AbstractModels\Record as Record;
9 8
 use Nip\Records\Collections\Associated as AssociatedCollection;
10
-use Nip\Records\Collections\Collection;
11 9
 use Nip\Records\Collections\Collection as RecordCollection;
12 10
 use Nip\Records\Relations\Traits\HasCollectionResults;
13 11
 
Please login to merge, or discard this patch.