@@ -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 | } |
@@ -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; |