Passed
Push — master ( cb8abc...d33ffd )
by Bruno
09:24
created
Modelarium/Types/FormulariumScalarType.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
     {
53 53
         try {
54 54
             return $this->datatype->validate($value);
55
-        }
56
-        catch (ValidatorException $e) {
55
+        } catch (ValidatorException $e) {
57 56
             throw new Error($e->getMessage());
58 57
         }
59 58
     }
Please login to merge, or discard this patch.
Modelarium/Laravel/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,13 +45,13 @@
 block discarded – undo
45 45
 
46 46
         Event::listen(
47 47
             RegisterDirectiveNamespaces::class,
48
-            function (RegisterDirectiveNamespaces $registerDirectiveNamespaces): string {
48
+            function(RegisterDirectiveNamespaces $registerDirectiveNamespaces): string {
49 49
                 return 'Modelarium\\Laravel\\Lighthouse\\Directives';
50 50
             }
51 51
         );
52 52
         Event::listen(
53 53
             RegisterDirectiveNamespaces::class,
54
-            function (RegisterDirectiveNamespaces $registerDirectiveNamespaces): string {
54
+            function(RegisterDirectiveNamespaces $registerDirectiveNamespaces): string {
55 55
                 return 'App\\Datatypes\\Types';
56 56
             }
57 57
         );
Please login to merge, or discard this patch.