@@ -152,7 +152,7 @@ |
||
152 | 152 | |
153 | 153 | public function initialize() |
154 | 154 | { |
155 | - $this->allWithControl()->each(function (ColumnInterface $column) { |
|
155 | + $this->allWithControl()->each(function(ColumnInterface $column) { |
|
156 | 156 | $column->initialize(); |
157 | 157 | }); |
158 | 158 |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | public function getOptions() |
56 | 56 | { |
57 | - if (! is_null($this->getModelForOptions()) && ! is_null($this->getDisplay())) { |
|
57 | + if (!is_null($this->getModelForOptions()) && !is_null($this->getDisplay())) { |
|
58 | 58 | $this->setOptions( |
59 | 59 | $this->loadOptions() |
60 | 60 | ); |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | */ |
136 | 136 | public function exclude($keys) |
137 | 137 | { |
138 | - if (! is_array($keys)) { |
|
138 | + if (!is_array($keys)) { |
|
139 | 139 | $keys = func_get_args(); |
140 | 140 | } |
141 | 141 |
@@ -74,8 +74,8 @@ |
||
74 | 74 | */ |
75 | 75 | protected function getFormatedDate($date) |
76 | 76 | { |
77 | - if (! is_null($date)) { |
|
78 | - if (! $date instanceof Carbon) { |
|
77 | + if (!is_null($date)) { |
|
78 | + if (!$date instanceof Carbon) { |
|
79 | 79 | $date = Carbon::parse($date); |
80 | 80 | } |
81 | 81 |
@@ -101,7 +101,7 @@ |
||
101 | 101 | */ |
102 | 102 | public function assetPath($path = null) |
103 | 103 | { |
104 | - return ! is_null($path) ? $this->assetDir().'/'.ltrim($path, '/') : $this->assetDir(); |
|
104 | + return !is_null($path) ? $this->assetDir().'/'.ltrim($path, '/') : $this->assetDir(); |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
@@ -79,7 +79,7 @@ |
||
79 | 79 | */ |
80 | 80 | public function getOptions() |
81 | 81 | { |
82 | - if (! is_null($this->getModelForOptions()) && ! is_null($this->getDisplay())) { |
|
82 | + if (!is_null($this->getModelForOptions()) && !is_null($this->getDisplay())) { |
|
83 | 83 | $this->setOptions( |
84 | 84 | $this->loadOptions() |
85 | 85 | ); |
@@ -25,7 +25,7 @@ |
||
25 | 25 | if ($column instanceof \SleepingOwl\Admin\Display\Column\Control) { |
26 | 26 | $column->initialize(); |
27 | 27 | } |
28 | - if($column instanceof \SleepingOwl\Admin\Contracts\Display\ColumnEditableInterface) { |
|
28 | + if ($column instanceof \SleepingOwl\Admin\Contracts\Display\ColumnEditableInterface) { |
|
29 | 29 | ?> |
30 | 30 | |
31 | 31 | <td> |