@@ -90,7 +90,7 @@ |
||
| 90 | 90 | $messages[] = $exception->getMessage(); |
| 91 | 91 | } while ($exception = $exception->getPrevious()); |
| 92 | 92 | |
| 93 | - $messages = array_map(function ($message, $index) { |
|
| 93 | + $messages = array_map(function($message, $index) { |
|
| 94 | 94 | return sprintf('#%s - %s', $index + 1, $message); |
| 95 | 95 | }, $messages, array_keys($messages)); |
| 96 | 96 | |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | array_flip( |
| 15 | 15 | array_filter( |
| 16 | 16 | array_keys($data), |
| 17 | - function ($key) use ($prefix) { |
|
| 17 | + function($key) use ($prefix) { |
|
| 18 | 18 | return strpos($key, $prefix) !== 0; |
| 19 | 19 | } |
| 20 | 20 | ) |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | /** |
| 3 | 3 | * Copyright © Vaimo Group. All rights reserved. |
| 4 | 4 | * See LICENSE_VAIMO.txt for license details. |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | /** |
| 3 | 3 | * Copyright © Vaimo Group. All rights reserved. |
| 4 | 4 | * See LICENSE_VAIMO.txt for license details. |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | private function bootstrapAutoloader($namespaceConfig) |
| 66 | 66 | { |
| 67 | - spl_autoload_register(function ($class) use ($namespaceConfig) { |
|
| 67 | + spl_autoload_register(function($class) use ($namespaceConfig) { |
|
| 68 | 68 | foreach ($namespaceConfig as $classPathPrefix => $sources) { |
| 69 | 69 | if (strpos($class, $classPathPrefix) === false) { |
| 70 | 70 | continue; |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | |
| 108 | 108 | private function composePath() |
| 109 | 109 | { |
| 110 | - $pathSegments = array_map(function ($item) { |
|
| 110 | + $pathSegments = array_map(function($item) { |
|
| 111 | 111 | return rtrim($item, \DIRECTORY_SEPARATOR); |
| 112 | 112 | }, func_get_args()); |
| 113 | 113 | |