Completed
Pull Request — master (#3387)
by Edwin
02:58
created
src/Grid/Displayers/Gravatar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function display($size = 30)
8 8
     {
9
-        $src =  sprintf('https://www.gravatar.com/avatar/%s?s=%d', md5(strtolower($this->value)), $size);
9
+        $src = sprintf('https://www.gravatar.com/avatar/%s?s=%d', md5(strtolower($this->value)), $size);
10 10
 
11 11
         return "<img src='$src' class='img img-circle'/>";
12 12
     }
Please login to merge, or discard this patch.
src/Grid/Displayers/Button.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function display($style = null)
8 8
     {
9
-        $style = collect((array) $style)->map(function ($style) {
9
+        $style = collect((array) $style)->map(function($style) {
10 10
             return 'btn-'.$style;
11 11
         })->implode(' ');
12 12
 
Please login to merge, or discard this patch.
src/Widgets/Form.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
      */
276 276
     public function setWidth($fieldWidth = 8, $labelWidth = 2)
277 277
     {
278
-        collect($this->fields)->each(function ($field) use ($fieldWidth, $labelWidth) {
278
+        collect($this->fields)->each(function($field) use ($fieldWidth, $labelWidth) {
279 279
             /* @var Field $field  */
280 280
             $field->setWidth($fieldWidth, $labelWidth);
281 281
         });
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
      */
447 447
     public function __call($method, $arguments)
448 448
     {
449
-        if (! $this->hasField($method)) {
449
+        if (!$this->hasField($method)) {
450 450
             return $this;
451 451
         }
452 452
 
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 
455 455
         $field = new $class($arguments[0], array_slice($arguments, 1));
456 456
 
457
-        return tap($field, function ($field) {
457
+        return tap($field, function($field) {
458 458
             $this->pushField($field);
459 459
         });
460 460
     }
Please login to merge, or discard this patch.
src/Grid/Displayers/Expand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,6 +64,6 @@
 block discarded – undo
64 64
         .grid-expand:before{content:"\\f0d7";display: inline-block;font: normal normal normal 14px/1 FontAwesome;font-size: inherit;text-rendering: auto;-webkit-font-smoothing: antialiased;}
65 65
         .grid-expand.collapsed:before{content:"\\f0da";}
66 66
 STYLE;
67
-        Admin::style( $style );
67
+        Admin::style($style);
68 68
     }
69 69
 }
Please login to merge, or discard this patch.