Passed
Push — 1.x ( 174f4d...b0ac74 )
by Ulises Jeremias
02:31
created
Mbh/Tree/Traits/Node.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-    * {@inheritdoc}
45
-    */
44
+     * {@inheritdoc}
45
+     */
46 46
     public function setValue($value)
47 47
     {
48 48
         $this->value = $value;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
         return array_values(
173 173
             array_filter(
174 174
                 $neighbors,
175
-                function ($item) use ($current) {
175
+                function($item) use ($current) {
176 176
                     return $item != $current;
177 177
                 }
178 178
             )
Please login to merge, or discard this patch.
Mbh/Collection/Traits/Sequenceable.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,8 @@
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-    * @inheritDoc
92
-    */
91
+     * @inheritDoc
92
+     */
93 93
     public function first()
94 94
     {
95 95
         if ($this->isEmpty()) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function get(int $index)
112 112
     {
113
-        if (! $this->validIndex($index)) {
113
+        if (!$this->validIndex($index)) {
114 114
             throw new OutOfRangeException();
115 115
         }
116 116
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function insert(int $index, ...$values)
124 124
     {
125
-        if (! $this->validIndex($index) && $index !== $this->count()) {
125
+        if (!$this->validIndex($index) && $index !== $this->count()) {
126 126
             throw new OutOfRangeException();
127 127
         }
128 128
 
Please login to merge, or discard this patch.
Mbh/Collection/Traits/Capacity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      */
91 91
     protected function decreaseCapacity()
92 92
     {
93
-        $this->capacity = max(self::MIN_CAPACITY, $this->capacity  * $this->getDecayFactor());
93
+        $this->capacity = max(self::MIN_CAPACITY, $this->capacity * $this->getDecayFactor());
94 94
     }
95 95
 
96 96
     /**
Please login to merge, or discard this patch.