Passed
Push — master ( 09194d...95db02 )
by Yuichi
02:42
created
src/HelpersServiceProvider.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.