@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * Register Autoload |
| 31 | 31 | */ |
| 32 | 32 | spl_autoload_register( |
| 33 | - static function ($entity): void { |
|
| 33 | + static function($entity): void { |
|
| 34 | 34 | $module = explode('\\', $entity, 2); |
| 35 | 35 | if (!\in_array($module[0], ['Phpfastcache', 'Psr'])) { |
| 36 | 36 | /** |
@@ -64,9 +64,9 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | $entityPath = str_replace('\\', '/', $entity); |
| 66 | 66 | |
| 67 | - if(\strpos($entity, PFC_TESTS_NS) === 0){ |
|
| 67 | + if (\strpos($entity, PFC_TESTS_NS) === 0) { |
|
| 68 | 68 | $path = PFC_TESTS_DIR . \str_replace(str_replace('\\', '/', PFC_TESTS_NS), '', $entityPath) . '.' . PFC_PHP_EXT; |
| 69 | - }else{ |
|
| 69 | + } else { |
|
| 70 | 70 | $path = PFC_LIB_DIR . $entityPath . '.' . PFC_PHP_EXT; |
| 71 | 71 | } |
| 72 | 72 | |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | |
| 67 | 67 | if(\strpos($entity, PFC_TESTS_NS) === 0){ |
| 68 | 68 | $path = PFC_TESTS_DIR . \str_replace(str_replace('\\', '/', PFC_TESTS_NS), '', $entityPath) . '.' . PFC_PHP_EXT; |
| 69 | - }else{ |
|
| 69 | + } else{ |
|
| 70 | 70 | $path = PFC_LIB_DIR . $entityPath . '.' . PFC_PHP_EXT; |
| 71 | 71 | } |
| 72 | 72 | |