@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /* |
| 4 | 4 | * This file is part of the php-utilities package. |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /* |
| 4 | 4 | * This file is part of the php-utilities package. |
| 5 | 5 | * |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | public static function factory(array $param, string $class = self::DEFAULT_CONFIG) : ConfigInterface |
| 36 | 36 | { |
| 37 | 37 | if (false === strpos($class, self::DEFAULT_NAMESPACE)) { |
| 38 | - $class = __NAMESPACE__ . '\\' . $class; |
|
| 38 | + $class = __NAMESPACE__.'\\'.$class; |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | if (class_exists($class)) { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /* |
| 4 | 4 | * This file is part of the php-utilities package. |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /* |
| 4 | 4 | * This file is part of the php-utilities package. |
| 5 | 5 | * |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | private function checkPath(string $include) : string |
| 203 | 203 | { |
| 204 | 204 | if (0 !== strpos($include, $this->currentBasepath)) { |
| 205 | - $include = $this->currentBasepath . '/' . $include; |
|
| 205 | + $include = $this->currentBasepath.'/'.$include; |
|
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | return $include; |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $intervalKey, |
| 70 | 70 | 1, |
| 71 | 71 | new \DateTime( |
| 72 | - $intervalValue . ' 23:59:59' |
|
| 72 | + $intervalValue.' 23:59:59' |
|
| 73 | 73 | ) |
| 74 | 74 | ); |
| 75 | 75 | //fallthrough |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | $timerSubKey, |
| 113 | 113 | [ |
| 114 | 114 | new \DateTime($paramValue), |
| 115 | - new \DateTime($paramValue . ' 23:59:59'), |
|
| 115 | + new \DateTime($paramValue.' 23:59:59'), |
|
| 116 | 116 | ] |
| 117 | 117 | ); |
| 118 | 118 | } |
@@ -136,13 +136,13 @@ discard block |
||
| 136 | 136 | switch ($params['type']) { |
| 137 | 137 | case 'fix': |
| 138 | 138 | $tmpConf[$params['name']] = new \DateTime( |
| 139 | - $year . '-' . $params['value'][0] . '-' . $params['value'][1] |
|
| 139 | + $year.'-'.$params['value'][0].'-'.$params['value'][1] |
|
| 140 | 140 | ); |
| 141 | 141 | break; |
| 142 | 142 | case 'var': |
| 143 | 143 | $easterDateClone = clone $easterDate; |
| 144 | 144 | $tmpConf[$params['name']] = $easterDateClone->{$params['value'][0]}( |
| 145 | - new \DateInterval('P' . $params['value'][1] . 'D') |
|
| 145 | + new \DateInterval('P'.$params['value'][1].'D') |
|
| 146 | 146 | ); |
| 147 | 147 | break; |
| 148 | 148 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /* |
| 4 | 4 | * This file is part of the asm/php-utilities package. |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /* |
| 4 | 4 | * This file is part of the asm/php-utilities package. |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /* |
| 4 | 4 | * This file is part of the asm/php-utilities package. |
| 5 | 5 | * |