@@ -226,7 +226,7 @@ |
||
| 226 | 226 | } |
| 227 | 227 | |
| 228 | 228 | foreach ($sheets as $sheet) { |
| 229 | - $string .= '<link rel="stylesheet" href="' . $sheet .'">' . "\r\n"; |
|
| 229 | + $string .= '<link rel="stylesheet" href="' . $sheet . '">' . "\r\n"; |
|
| 230 | 230 | } |
| 231 | 231 | |
| 232 | 232 | return $string; |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | |
| 119 | 119 | /** |
| 120 | 120 | * formats and prepares view for inclusion |
| 121 | - * @param $viewName |
|
| 121 | + * @param string|boolean $viewName |
|
| 122 | 122 | * @return string |
| 123 | 123 | * @throws Exception\LookupException |
| 124 | 124 | */ |
@@ -169,6 +169,9 @@ discard block |
||
| 169 | 169 | } |
| 170 | 170 | } |
| 171 | 171 | |
| 172 | + /** |
|
| 173 | + * @param string|boolean $layout |
|
| 174 | + */ |
|
| 172 | 175 | public function setLayout($layout = null) |
| 173 | 176 | { |
| 174 | 177 | if ($layout === null) { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |
@@ -168,7 +168,7 @@ |
||
| 168 | 168 | if (is_null($this->baseURL)) { |
| 169 | 169 | $self = $_SERVER['PHP_SELF']; |
| 170 | 170 | $server = $_SERVER['HTTP_HOST'] |
| 171 | - . rtrim(str_replace(strstr($self, 'index.php'), '', $self), '/'); |
|
| 171 | + . rtrim(str_replace(strstr($self, 'index.php'), '', $self), '/'); |
|
| 172 | 172 | |
| 173 | 173 | if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') |
| 174 | 174 | || !empty($_SERVER['HTTP_X_FORWARDED_PROTO']) |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Zewa; |
| 4 | 4 | |
| 5 | 5 | use Sabre\Event\Emitter; |