@@ -29,11 +29,11 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function fire(Filesystem $files) |
31 | 31 | { |
32 | - if (! defined('SLEEPINGOWL_STUB_PATH')) { |
|
32 | + if (!defined('SLEEPINGOWL_STUB_PATH')) { |
|
33 | 33 | define('SLEEPINGOWL_STUB_PATH', __DIR__.'/stubs'); |
34 | 34 | } |
35 | 35 | |
36 | - if (! $this->confirmToProceed('SleepingOwl Admin')) { |
|
36 | + if (!$this->confirmToProceed('SleepingOwl Admin')) { |
|
37 | 37 | return; |
38 | 38 | } |
39 | 39 | |
@@ -55,11 +55,11 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public function handle(Filesystem $files) |
57 | 57 | { |
58 | - if (! defined('SLEEPINGOWL_STUB_PATH')) { |
|
58 | + if (!defined('SLEEPINGOWL_STUB_PATH')) { |
|
59 | 59 | define('SLEEPINGOWL_STUB_PATH', __DIR__.'/stubs'); |
60 | 60 | } |
61 | 61 | |
62 | - if (! $this->confirmToProceed('SleepingOwl Admin')) { |
|
62 | + if (!$this->confirmToProceed('SleepingOwl Admin')) { |
|
63 | 63 | return; |
64 | 64 | } |
65 | 65 |
@@ -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> |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function getModelConfiguration() |
59 | 59 | { |
60 | - if (! $this->hasModel()) { |
|
60 | + if (!$this->hasModel()) { |
|
61 | 61 | return; |
62 | 62 | } |
63 | 63 | |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | */ |
70 | 70 | public function hasModel() |
71 | 71 | { |
72 | - return ! is_null($this->model) && class_exists($this->model); |
|
72 | + return !is_null($this->model) && class_exists($this->model); |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
@@ -113,9 +113,9 @@ discard block |
||
113 | 113 | */ |
114 | 114 | public function getAccessLogic() |
115 | 115 | { |
116 | - if (! is_callable($this->accessLogic)) { |
|
116 | + if (!is_callable($this->accessLogic)) { |
|
117 | 117 | if ($this->hasModel()) { |
118 | - return function () { |
|
118 | + return function() { |
|
119 | 119 | return $this->getModelConfiguration()->isDisplayable(); |
120 | 120 | }; |
121 | 121 | } |
@@ -131,13 +131,13 @@ discard block |
||
131 | 131 | */ |
132 | 132 | public function render($view = null) |
133 | 133 | { |
134 | - if ($this->hasChild() && ! $this->hasClassProperty($class = config('navigation.class.has_child', 'treeview'))) { |
|
134 | + if ($this->hasChild() && !$this->hasClassProperty($class = config('navigation.class.has_child', 'treeview'))) { |
|
135 | 135 | $this->setHtmlAttribute('class', $class); |
136 | 136 | } |
137 | 137 | |
138 | 138 | $data = $this->toArray(); |
139 | 139 | |
140 | - if (! is_null($view)) { |
|
140 | + if (!is_null($view)) { |
|
141 | 141 | return view($view, $data)->render(); |
142 | 142 | } |
143 | 143 |