@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | protected $serviceClasses = []; |
12 | 12 | |
13 | 13 | public static function getInstance($forcereload = false) { |
14 | - if(null === self::$instance || $forcereload) { |
|
14 | + if (null === self::$instance || $forcereload) { |
|
15 | 15 | self::$instance = new self(); |
16 | 16 | } |
17 | 17 | return self::$instance; |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $serviceDir = __DIR__ . '/../services'; |
50 | 50 | $filenames = scandir($serviceDir, SCANDIR_SORT_ASCENDING); |
51 | 51 | foreach ($filenames as $filename) { |
52 | - if ($filename === '.' || $filename === '..' ) { |
|
52 | + if ($filename === '.' || $filename === '..') { |
|
53 | 53 | continue; |
54 | 54 | } |
55 | 55 | list($service, $servicePostfix) = explode('.', $filename, 2); |