Completed
Push — master ( f8b6bf...bec27e )
by Mahmoud
03:02
created
app/Port/Loader/Loaders/AliasesLoaderTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 {
15 15
 
16 16
     /**
17
-     * @param array $aliases
18 17
      */
19 18
     public function loadPortInternalAliases()
20 19
     {
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/ConfigsLoaderTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Port\Loader\Loaders;
4 4
 
5 5
 use App;
6
-use DB;
7 6
 use File;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/ConsolesLoaderTrait.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param $consoleClass
42
+     * @param string $directory
42 43
      */
43 44
     private function loadConsoles($directory)
44 45
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use App;
6 6
 use App\Port\Loader\Helpers\Facade\LoaderHelper;
7
-use DB;
8 7
 use File;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/ProvidersLoaderTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @param $directory
41
+     * @param string $directory
42 42
      */
43 43
     private function loadProviders($directory)
44 44
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use App;
6 6
 use App\Port\Foundation\Portals\Facade\PortButler;
7 7
 use App\Port\Loader\Helpers\Facade\LoaderHelper;
8
-use DB;
9 8
 use File;
10
-use Log;
11 9
 
12 10
 /**
13 11
  * Class ProvidersLoaderTrait.
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/RoutesLoaderTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Routing\Router as LaravelRouter;
8 8
 use Illuminate\Support\Facades\Config;
9 9
 use Illuminate\Support\Facades\File;
10
-use Route;
11 10
 use Symfony\Component\Finder\SplFileInfo;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/SeederLoaderAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-     * @param $directory
67
+     * @param string $directory
68 68
      */
69 69
     private function seed($directory)
70 70
     {
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/MigrationsLoaderTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         if (File::isDirectory($directory)) {
43 43
 
44
-            App::afterResolving('migrator', function ($migrator) use ($directory) {
44
+            App::afterResolving('migrator', function($migrator) use ($directory) {
45 45
                 foreach ((array)$directory as $path) {
46 46
                     $migrator->path($path);
47 47
                 }
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/FactoriesLoaderTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     {
23 23
         $newFactoriesPath = '/app/Port/Loader/Loaders/Factories';
24 24
 
25
-        App::singleton(Factory::class, function ($app) use ($newFactoriesPath) {
25
+        App::singleton(Factory::class, function($app) use ($newFactoriesPath) {
26 26
             $faker = $app->make(Generator::class);
27 27
 
28 28
             return Factory::construct($faker, base_path() . $newFactoriesPath);
Please login to merge, or discard this patch.
app/Port/Provider/MainServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,12 +73,12 @@
 block discarded – undo
73 73
      */
74 74
     public function register()
75 75
     {
76
-        $this->app->bind('LoaderHelper', function () {
76
+        $this->app->bind('LoaderHelper', function() {
77 77
             return $this->app->make(LoaderHelper::class);
78 78
         });
79 79
 
80 80
 
81
-        $this->app->bind('PortButler', function () {
81
+        $this->app->bind('PortButler', function() {
82 82
             return $this->app->make(PortButler::class);
83 83
         });
84 84
 
Please login to merge, or discard this patch.