Completed
Push — master ( 0278ed...9a42b3 )
by Song
02:56
created
src/Form/Field/HasValuePicker.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View|string
68
+     * @return string|null
69 69
      */
70 70
     protected function renderFilePicker()
71 71
     {
@@ -89,7 +89,6 @@  discard block
 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.
src/Form/Field/ValuePicker.php 7 patches
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.
src/Grid/Selectable.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,6 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @param bool $multiple
71 70
      *
72 71
      * @return string
73 72
      */
Please login to merge, or discard this patch.
src/Traits/HasAssets.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@
 block discarded – undo
315 315
     }
316 316
 
317 317
     /**
318
-     * @param $component
318
+     * @param string $component
319 319
      */
320 320
     public static function component($component, $data = [])
321 321
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
 
326 326
         libxml_use_internal_errors(true);
327 327
 
328
-        $dom->loadHTML('<?xml encoding="utf-8" ?>' . $str);
328
+        $dom->loadHTML('<?xml encoding="utf-8" ?>'.$str);
329 329
 
330 330
         libxml_use_internal_errors(false);
331 331
 
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
         }
335 335
 
336 336
         if ($script = $dom->getElementsByTagName('script')[0]) {
337
-            static::script(';(function () {' . $script->nodeValue . '})();');
337
+            static::script(';(function () {'.$script->nodeValue.'})();');
338 338
         }
339 339
 
340 340
         if ($element = $dom->getElementsByTagName('template')[0]) {
Please login to merge, or discard this patch.