Passed
Push — master ( 556806...8874d6 )
by Samuel
02:30
created
src/AuthorizationHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,9 +41,9 @@
 block discarded – undo
41 41
     public function getWords($action)
42 42
     {
43 43
         $words = explode('.', $action);
44
-        if (! (count($words) > 1)) {
44
+        if (!(count($words) > 1)) {
45 45
             $words = explode('-', $action);
46
-            if (! (count($words) > 1)) {
46
+            if (!(count($words) > 1)) {
47 47
                 $words = preg_split('/(?=[A-Z])/', $action);
48 48
             }
49 49
         }
Please login to merge, or discard this patch.
src/NotFoundHttpHandler.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
     public function getNotFoundMessage(NotFoundHttpException $exception)
37 37
     {
38
-        $message = ! empty($exception->getMessage()) ? $exception->getMessage() : class_basename($exception);
38
+        $message = !empty($exception->getMessage()) ? $exception->getMessage() : class_basename($exception);
39 39
         if (basename($exception->getFile()) === 'RouteCollection.php') {
40 40
             $message = __('exception::exceptions.not_found_http.message');
41 41
         }
Please login to merge, or discard this patch.
src/CieloRequestHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
                 'title'     => $e->getMessage(),
20 20
                 'detail'    => $cieloError->getMessage(),
21 21
             ];
22
-            if (! in_array($error, $errors)) {
22
+            if (!in_array($error, $errors)) {
23 23
                 array_push($errors, $error);
24 24
             }
25 25
             $e = $e->getPrevious();
Please login to merge, or discard this patch.
src/ModelNotFoundHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $hasKey = in_array($entityName, $this->translationModelKeys());
60 60
 
61 61
         if ($hasKey) {
62
-            return ! empty($hasKey);
62
+            return !empty($hasKey);
63 63
         }
64 64
 
65 65
         return false;
Please login to merge, or discard this patch.