@@ -102,7 +102,7 @@ |
||
102 | 102 | $view = 'admin.dashboard'; |
103 | 103 | |
104 | 104 | if (!view()->exists($view)) { |
105 | - $view = 'flare::'.$view; |
|
105 | + $view = 'flare::' . $view; |
|
106 | 106 | } |
107 | 107 | |
108 | 108 | return view($view, ['widgetAdminManager' => (new WidgetAdminManager())]); |
@@ -93,9 +93,9 @@ |
||
93 | 93 | protected function adminController($route = null) |
94 | 94 | { |
95 | 95 | if ($route) { |
96 | - return $this->namespace.'\\'.$this->compatibilityVersion.'\AdminController@'.$route; |
|
96 | + return $this->namespace . '\\' . $this->compatibilityVersion . '\AdminController@' . $route; |
|
97 | 97 | } |
98 | 98 | |
99 | - return $this->namespace.'\\'.$this->compatibilityVersion.'\AdminController'; |
|
99 | + return $this->namespace . '\\' . $this->compatibilityVersion . '\AdminController'; |
|
100 | 100 | } |
101 | 101 | } |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | */ |
153 | 153 | private function getOptions($name) |
154 | 154 | { |
155 | - $method = 'get'.Str::studly($name).'Options'; |
|
155 | + $method = 'get' . Str::studly($name) . 'Options'; |
|
156 | 156 | |
157 | 157 | return $this->modelManager->{$method}(); |
158 | 158 | } |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | */ |
167 | 167 | public function hasOptionsMethod($key) |
168 | 168 | { |
169 | - return method_exists($this->modelManager, 'get'.Str::studly($key).'Options'); |
|
169 | + return method_exists($this->modelManager, 'get' . Str::studly($key) . 'Options'); |
|
170 | 170 | } |
171 | 171 | |
172 | 172 | /** |