@@ -390,7 +390,7 @@ |
||
| 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 | } |
@@ -146,7 +146,7 @@ |
||
| 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, |
@@ -48,7 +48,7 @@ |
||
| 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; |