Passed
Push — develop ( 38bf9c...4f6606 )
by nguereza
12:50
created
src/Query/EntityQuery.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -148,8 +148,8 @@  discard block
 block discarded – undo
148 148
     public function get(array $columns = [], bool $primaryColumn = true): ?Entity
149 149
     {
150 150
         $result = $this->query($columns, $primaryColumn)
151
-                       ->fetchAssoc()
152
-                       ->get();
151
+                        ->fetchAssoc()
152
+                        ->get();
153 153
 
154 154
         if ($result === false) {
155 155
             return null;
@@ -298,11 +298,11 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
 /**
301
-     * Find entities record using primary key values
302
-     * @param mixed ...$ids
303
-     *
304
-     * @return TEntity[]
305
-     */
301
+ * Find entities record using primary key values
302
+ * @param mixed ...$ids
303
+ *
304
+ * @return TEntity[]
305
+ */
306 306
     public function findAll(mixed ...$ids): array
307 307
     {
308 308
         if (is_array($ids[0])) {
@@ -543,6 +543,6 @@  discard block
 block discarded – undo
543 543
     protected function transaction(Closure $callback): mixed
544 544
     {
545 545
         return $this->manager->getConnection()
546
-                             ->transaction($callback);
546
+                                ->transaction($callback);
547 547
     }
548 548
 }
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
@@ -317,9 +317,9 @@  discard block
 block discarded – undo
317 317
         }
318 318
     }
319 319
 
320
-     /**
321
-     * {@inheritedoc}
322
-     */
320
+        /**
321
+         * {@inheritedoc}
322
+         */
323 323
     public function hasColumn(string $column): bool
324 324
     {
325 325
         return array_key_exists($column, $this->columns)
@@ -352,9 +352,9 @@  discard block
 block discarded – undo
352 352
         $this->rawColumns[$name] = $value;
353 353
     }
354 354
 
355
-     /**
356
-     * {@inheritedoc}
357
-     */
355
+        /**
356
+         * {@inheritedoc}
357
+         */
358 358
     public function getRelated(string $name, callable $callback = null): mixed
359 359
     {
360 360
         if (array_key_exists($name, $this->relations)) {
Please login to merge, or discard this patch.
src/Mapper/EntityMapper.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -221,10 +221,10 @@  discard block
 block discarded – undo
221 221
         return $this;
222 222
     }
223 223
 
224
-     /**
225
-     * {@inheritedoc}
226
-     * @return EntityMapper<TEntity>
227
-     */
224
+        /**
225
+         * {@inheritedoc}
226
+         * @return EntityMapper<TEntity>
227
+         */
228 228
     public function sequence(string $sequence): self
229 229
     {
230 230
         $this->sequence = $sequence;
@@ -254,10 +254,10 @@  discard block
 block discarded – undo
254 254
         return $this;
255 255
     }
256 256
 
257
-     /**
258
-     * {@inheritedoc}
259
-     * @return EntityMapper<TEntity>
260
-     */
257
+        /**
258
+         * {@inheritedoc}
259
+         * @return EntityMapper<TEntity>
260
+         */
261 261
     public function guarded(array $columns): self
262 262
     {
263 263
         $this->guarded = $columns;
Please login to merge, or discard this patch.