Completed
Push — master ( f5458a...590033 )
by Bocharsky
02:07
created
src/AbstractArray.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -390,7 +390,7 @@
 block discarded – undo
390 390
     public function find(callable $func)
391 391
     {
392 392
         foreach ($this->elements as $key => $value) {
393
-            if($func($value, $key)) {
393
+            if ($func($value, $key)) {
394 394
                 return $value;
395 395
             }
396 396
         }
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
      * @return AbstractArray An array with containing all the entries from this array
147 147
      * which have keys that are present in $array.
148 148
      */
149
-     abstract public function intersectKey(array $array);
149
+        abstract public function intersectKey(array $array);
150 150
 
151 151
     /**
152 152
      * Apply the given function to the every element of the current array,
Please login to merge, or discard this patch.
src/Traits/ConvertibleTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $elements = $this->elements;
49 49
         $lastElement = array_pop($elements);
50 50
 
51
-        $string = implode($separator, $elements) . (count($elements) ? $conjunction : '') . $lastElement;
51
+        $string = implode($separator, $elements).(count($elements) ? $conjunction : '').$lastElement;
52 52
         unset($elements, $lastElement);
53 53
 
54 54
         return $string;
Please login to merge, or discard this patch.