Passed
Push — develop ( 3ce561...bf3f40 )
by nguereza
02:28
created
src/Mapper/EntityMapper.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -222,9 +222,9 @@  discard block
 block discarded – undo
222 222
         return $this;
223 223
     }
224 224
 
225
-     /**
226
-     * {@inheritedoc}
227
-     */
225
+        /**
226
+         * {@inheritedoc}
227
+         */
228 228
     public function sequence(string $sequence): self
229 229
     {
230 230
         $this->sequence = $sequence;
@@ -252,9 +252,9 @@  discard block
 block discarded – undo
252 252
         return $this;
253 253
     }
254 254
 
255
-     /**
256
-     * {@inheritedoc}
257
-     */
255
+        /**
256
+         * {@inheritedoc}
257
+         */
258 258
     public function guarded(array $columns): self
259 259
     {
260 260
         $this->guarded = $columns;
Please login to merge, or discard this patch.
src/Relation/ShareRelation.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -97,12 +97,12 @@  discard block
 block discarded – undo
97 97
     }
98 98
 
99 99
         /**
100
-     *
101
-     * @param DataMapper $mapper
102
-     * @param Entity $entity
103
-     *
104
-     * @return bool
105
-     */
100
+         *
101
+         * @param DataMapper $mapper
102
+         * @param Entity $entity
103
+         *
104
+         * @return bool
105
+         */
106 106
     public function link(DataMapper $mapper, Entity $entity): bool
107 107
     {
108 108
         $manager = $mapper->getEntityManager();
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
             }
376 376
         });
377 377
 
378
-         $foreignKeys = $this->foreignKey->getValue($mapper->getRawColumns(), true);
378
+            $foreignKeys = $this->foreignKey->getValue($mapper->getRawColumns(), true);
379 379
         if (is_array($foreignKeys)) {
380 380
             foreach ($foreignKeys as $fkColumn => $value) {
381 381
                 $select->where($junctionTable . '.' . $fkColumn)->is($value);
Please login to merge, or discard this patch.
src/Entity.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -189,9 +189,9 @@
 block discarded – undo
189 189
     }
190 190
 
191 191
         /**
192
-     * Map the entity information
193
-     * @param EntityMapperInterface $mapper
194
-     */
192
+         * Map the entity information
193
+         * @param EntityMapperInterface $mapper
194
+         */
195 195
     abstract public static function mapEntity(EntityMapperInterface $mapper): void;
196 196
 
197 197
     /**
Please login to merge, or discard this patch.
src/Query/EntityQuery.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -139,8 +139,8 @@  discard block
 block discarded – undo
139 139
     public function get(array $columns = [], bool $primaryColumn = true): ?Entity
140 140
     {
141 141
         $result = $this->query($columns, $primaryColumn)
142
-                       ->fetchAssoc()
143
-                       ->get();
142
+                        ->fetchAssoc()
143
+                        ->get();
144 144
 
145 145
         if ($result === false) {
146 146
             return null;
@@ -289,11 +289,11 @@  discard block
 block discarded – undo
289 289
     }
290 290
 
291 291
 /**
292
-     * Find entities record using primary key values
293
-     * @param mixed ...$ids
294
-     *
295
-     * @return array<int, Entity>
296
-     */
292
+ * Find entities record using primary key values
293
+ * @param mixed ...$ids
294
+ *
295
+ * @return array<int, Entity>
296
+ */
297 297
     public function findAll(...$ids): array
298 298
     {
299 299
         if (is_array($ids[0])) {
@@ -526,6 +526,6 @@  discard block
 block discarded – undo
526 526
     protected function transaction(Closure $callback)
527 527
     {
528 528
         return $this->manager->getConnection()
529
-                             ->transaction($callback);
529
+                                ->transaction($callback);
530 530
     }
531 531
 }
Please login to merge, or discard this patch.
src/Repository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
 
156 156
         if ($this->offset >= 0 && $this->limit >= 0) {
157 157
             $query->offset($this->offset)
158
-                  ->limit($this->limit);
158
+                    ->limit($this->limit);
159 159
 
160 160
             $this->offset = -1;
161 161
             $this->limit = 0;
Please login to merge, or discard this patch.
src/Mapper/DataMapper.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -318,9 +318,9 @@  discard block
 block discarded – undo
318 318
         }
319 319
     }
320 320
 
321
-     /**
322
-     * {@inheritedoc}
323
-     */
321
+        /**
322
+         * {@inheritedoc}
323
+         */
324 324
     public function hasColumn(string $column): bool
325 325
     {
326 326
         return array_key_exists($column, $this->columns)
@@ -353,9 +353,9 @@  discard block
 block discarded – undo
353 353
         $this->rawColumns[$name] = $value;
354 354
     }
355 355
 
356
-     /**
357
-     * {@inheritedoc}
358
-     */
356
+        /**
357
+         * {@inheritedoc}
358
+         */
359 359
     public function getRelated(string $name, callable $callback = null)
360 360
     {
361 361
         if (array_key_exists($name, $this->relations)) {
Please login to merge, or discard this patch.