@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Win\File; |
4 | 4 | |
5 | -use Win\Mvc\Application; |
|
6 | 5 | use Win\Request\Server; |
7 | 6 | |
8 | 7 | /** |
@@ -222,7 +222,6 @@ |
||
222 | 222 | |
223 | 223 | /** |
224 | 224 | * Atualiza a mesma página |
225 | - * @param string $url |
|
226 | 225 | */ |
227 | 226 | public function refresh() { |
228 | 227 | Url::instance()->redirect($this->getUrl()); |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Autoload Controller |
5 | 5 | */ |
6 | -spl_autoload_register(function ($className) { |
|
6 | +spl_autoload_register(function($className) { |
|
7 | 7 | $file = BASE_PATH . '/app/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php'; |
8 | 8 | if (file_exists($file)): |
9 | 9 | return require $file; |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | /** |
14 | 14 | * Autoload Model |
15 | 15 | */ |
16 | -spl_autoload_register(function ($className) { |
|
16 | +spl_autoload_register(function($className) { |
|
17 | 17 | $file = BASE_PATH . '/app/model/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php'; |
18 | 18 | if (file_exists($file)): |
19 | 19 | return require $file; |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Autoload Lib |
25 | 25 | */ |
26 | -spl_autoload_register(function ($className) { |
|
26 | +spl_autoload_register(function($className) { |
|
27 | 27 | $file = BASE_PATH . '/lib/vendor/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php'; |
28 | 28 | if (file_exists($file)): |
29 | 29 | return require $file; |