Completed
Push — master ( 3745d5...788192 )
by Freek
03:26
created
app/Console/Commands/ClearBeanstalkdQueue.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
     public function fire()
43 43
     {
44 44
         $queue = ($this->argument('queue')) ?
45
-            $this->argument('queue') :
46
-            config('queue.connections.beanstalkd.queue');
45
+            $this->argument('queue') : config('queue.connections.beanstalkd.queue');
47 46
 
48 47
         $this->info(sprintf('Clearing queue: %s', $queue));
49 48
 
Please login to merge, or discard this patch.
app/Http/ViewComposers/Back/BlenderFormComposer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $viewData = $view->getData();
14 14
 
15 15
 
16
-        if (! array_keys_exist(['module', 'model', 'errors'], $viewData)) {
16
+        if (!array_keys_exist(['module', 'model', 'errors'], $viewData)) {
17 17
             return;
18 18
         }
19 19
 
Please login to merge, or discard this patch.
app/Http/Middleware/RobotsMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,11 @@
 block discarded – undo
14 14
             return false;
15 15
         }
16 16
 
17
-        if (! app()->environment('production')) {
17
+        if (!app()->environment('production')) {
18 18
             return false;
19 19
         }
20 20
 
21
-        if (! env('ALLOW_ROBOTS')) {
21
+        if (!env('ALLOW_ROBOTS')) {
22 22
             return false;
23 23
         }
24 24
 
Please login to merge, or discard this patch.
app/Services/Html/HtmlServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     protected function registerHtmlBuilder()
33 33
     {
34
-        $this->app->singleton('html', function ($app) {
34
+        $this->app->singleton('html', function($app) {
35 35
             return new HtmlBuilder($app['url']);
36 36
         });
37 37
     }
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     protected function registerFormBuilder()
43 43
     {
44
-        $this->app->singleton('form', function ($app) {
44
+        $this->app->singleton('form', function($app) {
45 45
             $formBuilder = new FormBuilder($app['html'], $app['url'], $app['session.store']->getToken());
46 46
 
47 47
             $formBuilder->setSessionStore($app['session.store']);
Please login to merge, or discard this patch.
app/Http/Requests/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Get a parameter of the current route.
37 37
      *
38
-     * @param $key
38
+     * @param string $key
39 39
      *
40 40
      * @return object|string
41 41
      */
Please login to merge, or discard this patch.
app/Http/Middleware/Authenticate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     public function handle($request, Closure $next)
12 12
     {
13
-        if (! current_user()) {
13
+        if (!current_user()) {
14 14
             return $this->handleUnauthorizedRequest($request);
15 15
         }
16 16
 
Please login to merge, or discard this patch.
app/Services/Auth/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
     public function isCurrentUser() : bool
57 57
     {
58
-        if (! $this->id) {
58
+        if (!$this->id) {
59 59
             return false;
60 60
         }
61 61
 
Please login to merge, or discard this patch.
app/Services/Locale/CurrentLocale.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     public static function getContentLocale() : string
26 26
     {
27
-        if (! static::isValidLocale(locale())) {
27
+        if (!static::isValidLocale(locale())) {
28 28
             return config('app.locales')[0];
29 29
         }
30 30
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     protected static function isValidLocale($locale) : bool
35 35
     {
36
-        if (! is_string($locale)) {
36
+        if (!is_string($locale)) {
37 37
             return false;
38 38
         }
39 39
 
Please login to merge, or discard this patch.
app/Services/Navigation/NavigationServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     protected function registerSection()
26 26
     {
27
-        Request::macro('section', function () {
27
+        Request::macro('section', function() {
28 28
 
29 29
             if (request()->segment(1) === 'blender') {
30 30
                 return 'back';
@@ -33,11 +33,11 @@  discard block
 block discarded – undo
33 33
             return 'front';
34 34
         });
35 35
 
36
-        Request::macro('isFront', function () {
36
+        Request::macro('isFront', function() {
37 37
             return request()->section() === 'front';
38 38
         });
39 39
 
40
-        Request::macro('isBack', function () {
40
+        Request::macro('isBack', function() {
41 41
             return request()->section() === 'back';
42 42
         });
43 43
     }
Please login to merge, or discard this patch.