Completed
Push — master ( c4d358...17a334 )
by Mahmoud
03:38
created
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.
app/Port/Loader/Loaders/AliasesLoaderTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 
17 17
     /**
18
-     * @param array $aliases
19 18
      */
20 19
     public function loadPortInternalAliases()
21 20
     {
Please login to merge, or discard this patch.
app/Port/Loader/Loaders/ConsolesLoaderTrait.php 1 patch
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 loadTheConsoles($directory)
44 45
     {
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 loadSeeds($directory)
70 70
     {
Please login to merge, or discard this patch.
app/Port/Test/PHPUnit/Abstracts/TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $this->baseUrl = env('API_FULL_URL'); // this reads the value from `phpunit.xml` during testing
58 58
 
59 59
         // override the default subDomain of the base URL when subDomain property is declared inside a test
60
-        if(property_exists($this, 'subDomain')){
60
+        if (property_exists($this, 'subDomain')) {
61 61
             $this->overrideSubDomain($this->subDomain);
62 62
         }
63 63
 
Please login to merge, or discard this patch.