@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | // check if class exist |
28 | 28 | if (!class_exists(self::$class)) { |
29 | - return 'Error: Widget is not founded: ' . App::$Security->strip_tags(self::$class); |
|
29 | + return 'Error: Widget is not founded: '.App::$Security->strip_tags(self::$class); |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | // init class and pass properties |
@@ -22,10 +22,10 @@ |
||
22 | 22 | { |
23 | 23 | $to = trim($to, '/'); |
24 | 24 | if (false === $full && !Str::startsWith(App::$Alias->baseUrl, $to)) { |
25 | - $to = App::$Alias->baseUrl . '/' . $to; |
|
25 | + $to = App::$Alias->baseUrl.'/'.$to; |
|
26 | 26 | } |
27 | 27 | $redirect = new FoundationRedirect($to); |
28 | 28 | $redirect->send(); |
29 | - exit('Redirecting to ' . $to . ' ...'); |
|
29 | + exit('Redirecting to '.$to.' ...'); |
|
30 | 30 | } |
31 | 31 | } |
32 | 32 | \ No newline at end of file |
@@ -62,7 +62,7 @@ |
||
62 | 62 | // build error text |
63 | 63 | $rawResponse = 'error'; |
64 | 64 | try { |
65 | - $rawResponse = App::$View->render('native/errors/' . $this->tpl, ['msg' => $this->text]); |
|
65 | + $rawResponse = App::$View->render('native/errors/'.$this->tpl, ['msg' => $this->text]); |
|
66 | 66 | if (Str::likeEmpty($rawResponse)) { |
67 | 67 | $rawResponse = $this->text; |
68 | 68 | } |