Passed
Branch master (efae30)
by Samuel
04:58
created
Category
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.