| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | namespace Sonar\Common; | 
| 3 | -use Illuminate\Filesystem\Filesystem; | |
| 3 | +use Illuminate\Filesystem\Filesystem; | |
| 4 | 4 | use Illuminate\Support\ServiceProvider; | 
| 5 | 5 | |
| 6 | 6 | class HelpersServiceProvider extends ServiceProvider | 
| @@ -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->file_system->allFiles(__DIR__ . '/Helpers') as $rec ) {
 | |
| 19 | -            if ( preg_match("/\.php$/",$rec->getFilename()) ) {
 | |
| 18 | +        foreach ($this->file_system->allFiles(__DIR__ . '/Helpers') as $rec) {
 | |
| 19 | +            if (preg_match("/\.php$/", $rec->getFilename())) {
 | |
| 20 | 20 | require_once($rec->getPathname()); | 
| 21 | 21 | } | 
| 22 | 22 | } |