Passed
Push — develop ( 1de0e8...a7f176 )
by nguereza
03:49
created
src/Repository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
         $this->immediate = false;
114 114
 
115 115
         return $this->manager->query($this->entityClass)
116
-                             ->with($with, $immediate);
116
+                                ->with($with, $immediate);
117 117
     }
118 118
 
119 119
     /**
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 = []): ?Entity
140 140
     {
141 141
         $result = $this->query($columns)
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])) {
@@ -525,6 +525,6 @@  discard block
 block discarded – undo
525 525
     protected function transaction(Closure $callback)
526 526
     {
527 527
         return $this->manager->getConnection()
528
-                             ->transaction($callback);
528
+                                ->transaction($callback);
529 529
     }
530 530
 }
Please login to merge, or discard this patch.
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/Mapper/DataMapper.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -314,9 +314,9 @@  discard block
 block discarded – undo
314 314
         unset($this->columns[$name]);
315 315
     }
316 316
 
317
-     /**
318
-     * {@inheritedoc}
319
-     */
317
+        /**
318
+         * {@inheritedoc}
319
+         */
320 320
     public function hasColumn(string $column): bool
321 321
     {
322 322
         return array_key_exists($column, $this->columns)
@@ -349,9 +349,9 @@  discard block
 block discarded – undo
349 349
         $this->rawColumns[$name] = $value;
350 350
     }
351 351
 
352
-     /**
353
-     * {@inheritedoc}
354
-     */
352
+        /**
353
+         * {@inheritedoc}
354
+         */
355 355
     public function getRelated(string $name, callable $callback = null)
356 356
     {
357 357
         if (array_key_exists($name, $this->relations)) {
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.