@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | public static function all($columns = ['*']) |
39 | 39 | { |
40 | - $cacheName = 'activercord.app.all.' . implode('.', $columns); |
|
40 | + $cacheName = 'activercord.app.all.'.implode('.', $columns); |
|
41 | 41 | $records = MemoryObject::instance()->get($cacheName); |
42 | 42 | if ($records === null) { |
43 | 43 | $records = parent::all($columns); |
@@ -175,16 +175,16 @@ discard block |
||
175 | 175 | */ |
176 | 176 | public function getScriptVersion() |
177 | 177 | { |
178 | - $class = 'Apps\Controller\Admin\\' . $this->sys_name; |
|
178 | + $class = 'Apps\Controller\Admin\\'.$this->sys_name; |
|
179 | 179 | if (!class_exists($class)) { |
180 | 180 | return false; |
181 | 181 | } |
182 | 182 | |
183 | - if (!defined($class . '::VERSION')) { |
|
183 | + if (!defined($class.'::VERSION')) { |
|
184 | 184 | return false; |
185 | 185 | } |
186 | 186 | |
187 | - return constant($class . '::VERSION'); |
|
187 | + return constant($class.'::VERSION'); |
|
188 | 188 | } |
189 | 189 | |
190 | 190 | } |
191 | 191 | \ No newline at end of file |