Completed
Push — master ( 2cb2d6...949a5a )
by Elf
04:59
created
src/Http/Middleware/EncryptCookies.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      *
12 12
      * @var array
13 13
      */
14
-    protected $only = [];
14
+    protected $only = [ ];
15 15
 
16 16
     /**
17 17
      * Enable encryption for the given cookie name(s).
@@ -32,6 +32,6 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function isDisabled($name)
34 34
     {
35
-        return ! in_array($name, $this->only);
35
+        return !in_array($name, $this->only);
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
src/Traits/ImageStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     protected function storeImageFile($file, $identifier = null)
22 22
     {
23
-        if ($file instanceof UploadedFile && ! $file->isValid()) {
23
+        if ($file instanceof UploadedFile && !$file->isValid()) {
24 24
             return;
25 25
         }
26 26
 
Please login to merge, or discard this patch.
src/Image/Filters/Filter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function __call($method, $parameters)
18 18
     {
19 19
         if (property_exists($this, $method) && count($parameters) > 0) {
20
-            $this->{$method} = $parameters[0];
20
+            $this->{$method} = $parameters[ 0 ];
21 21
 
22 22
             return $this;
23 23
         }
Please login to merge, or discard this patch.
src/Image/Filters/Fit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      */
48 48
     public function applyFilter(Image $image)
49 49
     {
50
-        return $image->orientate()->fit($this->width, $this->height, function ($constraint) {
50
+        return $image->orientate()->fit($this->width, $this->height, function($constraint) {
51 51
             $this->constraint($constraint);
52 52
         }, $this->position);
53 53
     }
Please login to merge, or discard this patch.
src/Image/Filters/Resize.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function applyFilter(Image $image)
44 44
     {
45
-        return $image->orientate()->resize($this->width, $this->height, function ($constraint) {
45
+        return $image->orientate()->resize($this->width, $this->height, function($constraint) {
46 46
             $this->constraint($constraint);
47 47
         });
48 48
     }
Please login to merge, or discard this patch.
src/Providers/RoutingServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 
26 26
         $router->macro(
27 27
             'modelWithHashid',
28
-            function ($key, $class, Closure $callback = null) use ($router) {
29
-                $router->bind($key, function ($value) use ($router, $class, $callback) {
28
+            function($key, $class, Closure $callback = null) use ($router) {
29
+                $router->bind($key, function($value) use ($router, $class, $callback) {
30 30
                     if (is_null($value)) {
31 31
                         return;
32 32
                     }
Please login to merge, or discard this patch.
src/Datatables/DatatablesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,6 @@
 block discarded – undo
36 36
      */
37 37
     public function provides()
38 38
     {
39
-        return ['datatables.html'];
39
+        return [ 'datatables.html' ];
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
src/Datatables/Engines/EloquentEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         }
23 23
 
24 24
         if (is_null($content) && is_string($name)) {
25
-            $content = function ($model) use ($name) {
25
+            $content = function($model) use ($name) {
26 26
                 return $model->{$name};
27 27
             };
28 28
         }
Please login to merge, or discard this patch.
src/Datatables/Services/DataTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      * @param  array  $attributes
15 15
      * @return $this
16 16
      */
17
-    protected function staticColumn($name, array $attributes = [])
17
+    protected function staticColumn($name, array $attributes = [ ])
18 18
     {
19 19
         return array_merge([
20 20
             'data' => $name,
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $prefix = $prefix ? '/'.$prefix.'/' : '/';
46 46
         $suffix = $suffix ? '/'.$suffix : '';
47 47
 
48
-        return function () use ($prefix, $suffix, $data, $content) {
48
+        return function() use ($prefix, $suffix, $data, $content) {
49 49
             return <<<JS
50 50
 function (data, type, row, meta) {
51 51
     if (type == 'display' && data) {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     protected function getBuilderParameters()
99 99
     {
100 100
         return [
101
-            'order' => [[0, 'desc']],
101
+            'order' => [ [ 0, 'desc' ] ],
102 102
         ];
103 103
     }
104 104
 }
Please login to merge, or discard this patch.