Completed
Push — master ( 012634...6d13cc )
by Mahmoud
03:45
created
app/Port/Routes/default-api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 // Default root route
4 4
 use Illuminate\Support\Facades\Config;
5 5
 
6
-$router->any('/', function () {
6
+$router->any('/', function() {
7 7
     return response()->json(['Welcome to ' . Config::get('api.name') . '.']);
8 8
 });
Please login to merge, or discard this patch.
app/Port/Routes/Traits/RoutesServiceProviderTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 $apiVersionNumber = $this->getRouteFileVersionNumber($fileNameWithoutExtension);
55 55
 
56 56
                 $this->apiRouter->version('v' . $apiVersionNumber,
57
-                    function (DingoApiRouter $router) use ($file, $containerPath, $containersNamespace) {
57
+                    function(DingoApiRouter $router) use ($file, $containerPath, $containersNamespace) {
58 58
 
59 59
                         $router->group([
60 60
                             // Routes Namespace
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                             'limit'      => Config::get('api.limit'),
66 66
                             // The API limit expiry time.
67 67
                             'expires'    => Config::get('api.limit_expires'),
68
-                        ], function ($router) use ($file) {
68
+                        ], function($router) use ($file) {
69 69
 
70 70
                             require $file->getPathname();
71 71
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
             foreach ($files as $file) {
97 97
                 $this->webRouter->group([
98 98
                     'namespace' => $containersNamespace . '\\Containers\\' . basename($containerPath) . '\\Controllers',
99
-                ], function (LaravelRouter $router) use ($file) {
99
+                ], function(LaravelRouter $router) use ($file) {
100 100
                     require $file->getPathname();
101 101
                 });
102 102
             }
Please login to merge, or discard this patch.
app/Port/Console/Inspire.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,6 @@
 block discarded – undo
28 28
      */
29 29
     public function handle()
30 30
     {
31
-        $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
31
+        $this->comment(PHP_EOL . Inspiring::quote() . PHP_EOL);
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
app/Port/Console/ConsolePort.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
     protected function schedule(Schedule $schedule)
33 33
     {
34 34
         $schedule->command('inspire')
35
-                 ->hourly();
35
+                    ->hourly();
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
app/Port/Middleware/Middlewares/Http/Localization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         $locale = $request->header('Content-Language');
39 39
 
40 40
         // if the header is missed
41
-        if(!$locale){
41
+        if (!$locale) {
42 42
             // take the default local language
43 43
             $locale = $this->app->config->get('app.locale');
44 44
         }
Please login to merge, or discard this patch.
app/Port/Butler/Portals/PortButler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     {
35 35
         $containersNames = [];
36 36
 
37
-        foreach($this->getContainersPaths() as $containersPath){
37
+        foreach ($this->getContainersPaths() as $containersPath) {
38 38
             $containersNames[] = basename($containersPath);
39 39
         }
40 40
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function buildMainServiceProvider($containersNamespace, $containerName)
63 63
     {
64
-        if($containerName != 'Port') {
64
+        if ($containerName != 'Port') {
65 65
             return $containersNamespace . "\\Containers\\" . $containerName . "\\Providers\\" . $containerName . "ServiceProvider";
66 66
         }
67 67
 
Please login to merge, or discard this patch.
app/Port/Butler/Providers/PortButlerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register()
20 20
     {
21
-        $this->app->bind('PortButler', function () {
21
+        $this->app->bind('PortButler', function() {
22 22
             return $this->app->make(PortButler::class);
23 23
         });
24 24
     }
Please login to merge, or discard this patch.
app/Containers/Paypal/Actions/CreatePaypalAccountAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\Containers\Stripe\Repositories\Eloquent\StripeAccountRepository;
7 7
 use App\Containers\User\Models\User;
8 8
 use App\Port\Action\Abstracts\Action;
9
-use Auth;
10 9
 
11 10
 /**
12 11
  * Class CreateStripeAccountAction.
Please login to merge, or discard this patch.
app/Containers/Email/UI/WEB/Controllers/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * @param \App\Containers\User\Actions\FindUserByIdAction              $findUserByIdAction
22 22
      * @param \App\Containers\Email\Actions\ValidateConfirmationCodeAction $validateConfirmationCodeAction
23 23
      *
24
-     * @return  \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
24
+     * @return  \Illuminate\Http\RedirectResponse
25 25
      */
26 26
     public function confirmUserEmail(
27 27
         ConfirmUserEmailRequest $confirmUserEmailRequest,
Please login to merge, or discard this patch.