Passed
Push — master ( c34076...703e6b )
by Tobias
03:30
created
src/Support/tmaxham_helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('_val')) {
3
+if (!function_exists('_val')) {
4 4
     /**
5 5
      * @param $value
6 6
      * @param null $default
Please login to merge, or discard this patch.
src/Http/Middleware/CloudFlare.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             $request->server->set('HTTPS', 'on');
28 28
         }
29 29
 
30
-        if (! $request->secure() && env('APP_ENV') === 'production') {
30
+        if (!$request->secure() && env('APP_ENV') === 'production') {
31 31
             return Redirect::secure($request->getRequestUri());
32 32
         }
33 33
 
Please login to merge, or discard this patch.
src/Http/Middleware/Cors.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     private function addCorsHeaders(Response $response)
37 37
     {
38
-        if (! $response->headers->has('Access-Control-Allow-Origin')) {
38
+        if (!$response->headers->has('Access-Control-Allow-Origin')) {
39 39
             $response = $response->header('Access-Control-Allow-Origin', '*')
40 40
                 ->header('Access-Control-Allow-Methods', 'GET, POST, PATCH, PUT, DELETE, OPTIONS');
41 41
         }
Please login to merge, or discard this patch.
src/Models/Logs/ChangeByUser.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public static function bootChangeByUser()
14 14
     {
15
-        static::creating(function ($model) {
16
-            if (App::runningInConsole() || ! Auth::check()) {
15
+        static::creating(function($model) {
16
+            if (App::runningInConsole() || !Auth::check()) {
17 17
                 return true;
18 18
             }
19 19
             if ($model->getCreatedByColumn()) {
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
             return true;
27 27
         });
28 28
 
29
-        static::updating(function ($model) {
30
-            if (App::runningInConsole() || ! Auth::check()) {
29
+        static::updating(function($model) {
30
+            if (App::runningInConsole() || !Auth::check()) {
31 31
                 return true;
32 32
             }
33 33
             if ($model->getUpdatedByColumn()) {
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
             return true;
38 38
         });
39 39
 
40
-        static::deleting(function ($model) {
41
-            if (App::runningInConsole() || ! Auth::check()) {
40
+        static::deleting(function($model) {
41
+            if (App::runningInConsole() || !Auth::check()) {
42 42
                 return true;
43 43
             }
44 44
             if ($model->getDeletedByColumn()) {
Please login to merge, or discard this patch.