Passed
Branch master (32a33b)
by Robin
03:42
created
Category
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.