Completed
Push — master ( 8187a2...82be35 )
by Song
02:30
created
src/Grid/Displayers/DropdownActions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     /**
124 124
      * @param null|\Closure $callback
125 125
      *
126
-     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View|string
126
+     * @return string|null
127 127
      */
128 128
     public function display($callback = null)
129 129
     {
Please login to merge, or discard this patch.
src/Traits/HasAssets.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         $script = collect(static::$script)
234 234
             ->merge(static::$deferredScript)
235 235
             ->unique()
236
-            ->map(function ($line) {
236
+            ->map(function($line) {
237 237
                 //@see https://stackoverflow.com/questions/19509863/how-to-remove-js-comments-using-php
238 238
                 $pattern = '/(?:(?:\/\*(?:[^*]|(?:\*+[^*\/]))*\*+\/)|(?:(?<!\:|\\\|\')\/\/.*))/';
239 239
                 $line = preg_replace($pattern, '', $line);
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 
258 258
         $style = collect(static::$style)
259 259
             ->unique()
260
-            ->map(function ($line) {
260
+            ->map(function($line) {
261 261
                 return preg_replace('/\s+/', ' ', $line);
262 262
             });
263 263
 
@@ -339,10 +339,10 @@  discard block
 block discarded – undo
339 339
         $dom = new \DOMDocument();
340 340
 
341 341
         libxml_use_internal_errors(true);
342
-        $dom->loadHTML('<?xml encoding="utf-8" ?>' . $string);
342
+        $dom->loadHTML('<?xml encoding="utf-8" ?>'.$string);
343 343
         libxml_use_internal_errors(false);
344 344
 
345
-        if(! $body = $dom->getElementsByTagName('body')->item(0)) {
345
+        if (!$body = $dom->getElementsByTagName('body')->item(0)) {
346 346
             return;
347 347
         }
348 348
 
Please login to merge, or discard this patch.
src/Grid/Tools/FixColumns.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             'rowName' => $this->grid->getGridRowName(),
82 82
         ]);
83 83
 
84
-        return function (Grid $grid) {
84
+        return function(Grid $grid) {
85 85
             if ($this->head > 0) {
86 86
                 $this->left = $grid->visibleColumns()->slice(0, $this->head);
87 87
             }
Please login to merge, or discard this patch.