Passed
Push — master ( a6e396...dac1f7 )
by Robin
03:43 queued 01:28
created
src/UniqueJsonRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *
33 33
      * @return static
34 34
      */
35
-    public static function for($table, $column = null)
35
+    public static function for ($table, $column = null)
36 36
     {
37 37
         return new static($table, $column);
38 38
     }
Please login to merge, or discard this patch.
src/UniqueJsonValidator.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
     {
20 20
         list($name, $json_field) = array_map('trim', explode('.', $attribute));
21 21
         $parameters = array_map('trim', $parameters);
22
-        $parameters = array_map(function ($u) {
22
+        $parameters = array_map(function($u) {
23 23
             return strtolower($u) == 'null' || empty($u) ? null : $u;
24 24
         }, $parameters);
25 25
         list($table, $combined_fields, $except_value, $id_field) = array_pad($parameters, 4, null);
Please login to merge, or discard this patch.
src/UniqueJsonRuleServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      */
25 25
     public function boot()
26 26
     {
27
-        Validator::extend('unique_json', UniqueJsonValidator::class.'@validate', trans('validation.unique'));
27
+        Validator::extend('unique_json', UniqueJsonValidator::class . '@validate', trans('validation.unique'));
28 28
     }
29 29
 }
Please login to merge, or discard this patch.