Completed
Push — master ( ae2f10...7ef159 )
by Song
02:52 queued 12s
created
src/Grid/Displayers/Modal.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
     protected $renderable;
14 14
 
15 15
     /**
16
-     * @param int $multiple
17 16
      *
18 17
      * @return string
19 18
      */
Please login to merge, or discard this patch.
src/Console/ConfigCommand.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -57,6 +57,10 @@
 block discarded – undo
57 57
             });
58 58
     }
59 59
 
60
+    /**
61
+     * @param string $title
62
+     * @param \Illuminate\Support\Collection $diff
63
+     */
60 64
     protected function printDiff($title, $diff, $error = false)
61 65
     {
62 66
         if ($diff->isEmpty()) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     {
53 53
         return collect(Arr::dot($from))
54 54
             ->keys()
55
-            ->reject(function ($key) use ($to) {
55
+            ->reject(function($key) use ($to) {
56 56
                 return Arr::has($to, $key);
57 57
             });
58 58
     }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         $this->line('');
67 67
         $this->comment("{$title}:");
68 68
 
69
-        $diff->each(function ($key) use ($error) {
69
+        $diff->each(function($key) use ($error) {
70 70
             if ($error) {
71 71
                 $this->error("    {$key}");
72 72
             } else {
Please login to merge, or discard this patch.
src/Form/Field/CanCascadeFields.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
      */
103 103
     protected function applyCascadeConditions()
104 104
     {
105
-        if( $this->form ) {
105
+        if ($this->form) {
106 106
             $this->form->fields()
107
-                ->filter(function (Form\Field $field) {
107
+                ->filter(function(Form\Field $field) {
108 108
                     return $field instanceof CascadeGroup
109 109
                         && $field->dependsOn($this)
110 110
                         && $this->hitsCondition($field);
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
             return;
163 163
         }
164 164
 
165
-        $cascadeGroups = collect($this->conditions)->map(function ($condition) {
165
+        $cascadeGroups = collect($this->conditions)->map(function($condition) {
166 166
             return [
167 167
                 'class'    => $this->getCascadeClass($condition['value']),
168 168
                 'operator' => $condition['operator'],
Please login to merge, or discard this patch.
src/Form/Field/HasValuePicker.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,6 @@
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @param string $wrap
93 92
      */
94 93
     public function addPickBtn($btn)
95 94
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Encore\Admin\Form\Field;
4 4
 
5 5
 use Encore\Admin\Admin;
6
-use Illuminate\Support\Arr;
7 6
 
8 7
 trait HasValuePicker
9 8
 {
Please login to merge, or discard this patch.
src/Form/Field/PlainInput.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     protected $append;
16 16
 
17 17
     /**
18
-     * @param $string
18
+     * @param string $string
19 19
      * @return $this
20 20
      */
21 21
     public function prepend($string)
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @param $string
31
+     * @param string $string
32 32
      * @return $this
33 33
      */
34 34
     public function append($string)
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
         }
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $attribute
52
+     */
50 53
     protected function defaultAttribute($attribute, $value)
51 54
     {
52 55
         if (!array_key_exists($attribute, $this->attributes)) {
Please login to merge, or discard this patch.
src/Form/Field/ValuePicker.php 7 patches
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,6 +302,4 @@
 block discarded – undo
302 302
             $value = explode($this->separator, $value);
303 303
         }
304 304
 
305
-        return Arr::wrap($value);
306
-    }
307
-}
305
+        return Arr::wrap($value
308 306
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,6 +302,4 @@
 block discarded – undo
302 302
             $value = explode($this->separator, $value);
303 303
         }
304 304
 
305
-        return Arr::wrap($value);
306
-    }
307
-}
305
+        return Arr::wrap($value
308 306
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,6 +302,4 @@
 block discarded – undo
302 302
             $value = explode($this->separator, $value);
303 303
         }
304 304
 
305
-        return Arr::wrap($value);
306
-    }
307
-}
305
+        return Arr::wrap($value
308 306
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,6 +302,4 @@
 block discarded – undo
302 302
             $value = explode($this->separator, $value);
303 303
         }
304 304
 
305
-        return Arr::wrap($value);
306
-    }
307
-}
305
+        return Arr::wrap($value
308 306
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,6 +302,4 @@
 block discarded – undo
302 302
             $value = explode($this->separator, $value);
303 303
         }
304 304
 
305
-        return Arr::wrap($value);
306
-    }
307
-}
305
+        return Arr::wrap($value
308 306
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,6 +302,4 @@
 block discarded – undo
302 302
             $value = explode($this->separator, $value);
303 303
         }
304 304
 
305
-        return Arr::wrap($value);
306
-    }
307
-}
305
+        return Arr::wrap($value
308 306
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,6 +302,4 @@
 block discarded – undo
302 302
             $value = explode($this->separator, $value);
303 303
         }
304 304
 
305
-        return Arr::wrap($value);
306
-    }
307
-}
305
+        return Arr::wrap($value
308 306
\ No newline at end of file
Please login to merge, or discard this patch.
src/Form/Field/Textarea.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,6 @@
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @param string $wrap
93 92
      */
94 93
     public function addPickBtn($btn)
95 94
     {
Please login to merge, or discard this patch.