@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | { |
8 | 8 | private $filesystem; |
9 | 9 | |
10 | - public function __construct($app,Filesystem $file=null) |
|
10 | + public function __construct($app, Filesystem $file = null) |
|
11 | 11 | { |
12 | 12 | parent::__construct($app); |
13 | 13 | |
@@ -15,8 +15,8 @@ discard block |
||
15 | 15 | } |
16 | 16 | public function register() |
17 | 17 | { |
18 | - foreach ( $this->filesystem->allFiles(__DIR__ . '/Helpers') as $rec ) { |
|
19 | - if ( preg_match("/\.php$/",$rec->getFilename()) ) { |
|
18 | + foreach ($this->filesystem->allFiles(__DIR__ . '/Helpers') as $rec) { |
|
19 | + if (preg_match("/\.php$/", $rec->getFilename())) { |
|
20 | 20 | require_once($rec->getPathname()); |
21 | 21 | } |
22 | 22 | } |