Completed
Push — master ( 1bc38b...e5e579 )
by Paul
05:30
created
src/Traits/IteratorTrait.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
         $this->CoreTrait_fireEvents($this, __CLASS__, __METHOD__, __TRAIT__);
41 41
 
42 42
         $this->CoreTrait_getCoreObject()
43
-             ->getObject()
44
-             ->next();
43
+                ->getObject()
44
+                ->next();
45 45
 
46 46
         return $this;
47 47
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $this->CoreTrait_fireEvents($this, __CLASS__, __METHOD__, __TRAIT__);
61 61
 
62 62
         $object = $this->CoreTrait_getCoreObject()
63
-                       ->getObject();
63
+                        ->getObject();
64 64
 
65 65
         if ($this->CoreTrait_getCoreObject()->hasMethod('rewind') && !$object instanceof \Generator) {
66 66
             $object->rewind();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Mcneely\Core\Traits;
5 5
 
Please login to merge, or discard this patch.
src/Traits/JsonSerializableTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Mcneely\Core\Traits;
5 5
 
@@ -39,6 +39,6 @@  discard block
 block discarded – undo
39 39
             return iterator_to_array($object);
40 40
         }
41 41
 
42
-        return (array)$object;
42
+        return (array) $object;
43 43
     }
44 44
 }
Please login to merge, or discard this patch.
src/Traits/CoreTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Mcneely\Core\Traits;
5 5
 
Please login to merge, or discard this patch.
src/Traits/GeneratorTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Mcneely\Core\Traits;
5 5
 
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     protected function __setUp_GeneratorTrait(): void
18 18
     {
19 19
         $this->CoreTrait_getCoreObject()->setRetriever(
20
-            function ($object) {
20
+            function($object) {
21 21
                 foreach ($object as $key => $value) {
22 22
                     yield $key => $value;
23 23
                 }
Please login to merge, or discard this patch.
src/Traits/ArrayAccessTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         $object     = $coreObject->getObject(true);
62 62
         $object     = ($object instanceof \IteratorAggregate) ? $object->getIterator() : $object;
63 63
         $object     = ($object instanceof \IteratorIterator) ? $object->getInnerIterator() : $object;
64
-        $object     = ($object instanceof \Iterator) ? iterator_to_array($object) : (array)$object;
64
+        $object     = ($object instanceof \Iterator) ? iterator_to_array($object) : (array) $object;
65 65
         $object     = new ArrayIterator($object);
66 66
 
67 67
         if ($update) {
Please login to merge, or discard this patch.
src/Traits/CountableTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Mcneely\Core\Traits;
5 5
 
Please login to merge, or discard this patch.
src/CoreObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Mcneely\Core;
5 5
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     {
56 56
         if (!$this->boundObject && $this->hasRetriever()) {
57 57
             $retriever = $this->retriever;
58
-            $this->boundObject =  $retriever($this->object);
58
+            $this->boundObject = $retriever($this->object);
59 59
         }
60 60
 
61 61
         return ($this->hasRetriever() && $useRetriever) ? $this->boundObject : $this->object;
Please login to merge, or discard this patch.