@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @date 31.03.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\ConfirmationDialog\Components; |
18 | 18 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | string $templateFile = NULL, |
54 | 54 | Storage\IStorage $storage |
55 | 55 | ) { |
56 | - list(, , $parent, $name) = func_get_args() + [NULL, NULL, NULL, NULL]; |
|
56 | + list(,, $parent, $name) = func_get_args() + [NULL, NULL, NULL, NULL]; |
|
57 | 57 | |
58 | 58 | parent::__construct($storage, $parent, $name); |
59 | 59 | |
@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | */ |
274 | 274 | private function generateToken() : string |
275 | 275 | { |
276 | - return base_convert(md5(uniqid('confirm' . $this->getName(), TRUE)), 16, 36); |
|
276 | + return base_convert(md5(uniqid('confirm'.$this->getName(), TRUE)), 16, 36); |
|
277 | 277 | } |
278 | 278 | |
279 | 279 | /** |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 31.01.15 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\ConfirmationDialog\Components; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 12.03.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\ConfirmationDialog\Components; |
18 | 18 |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @date 12.03.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\ConfirmationDialog\Components; |
18 | 18 | |
@@ -154,8 +154,8 @@ discard block |
||
154 | 154 | $templateName = preg_replace('/.latte/', '', $templateFile); |
155 | 155 | |
156 | 156 | // ...check if extension template is used |
157 | - if (is_file($dir . DIRECTORY_SEPARATOR . 'template' . DIRECTORY_SEPARATOR . $templateName . '.latte')) { |
|
158 | - return $dir . DIRECTORY_SEPARATOR . 'template' . DIRECTORY_SEPARATOR . $templateName . '.latte'; |
|
157 | + if (is_file($dir.DIRECTORY_SEPARATOR.'template'.DIRECTORY_SEPARATOR.$templateName.'.latte')) { |
|
158 | + return $dir.DIRECTORY_SEPARATOR.'template'.DIRECTORY_SEPARATOR.$templateName.'.latte'; |
|
159 | 159 | } |
160 | 160 | |
161 | 161 | // ...if not throw exception |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 01.02.15 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\ConfirmationDialog; |
18 | 18 |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @date 08.06.14 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\ConfirmationDialog\DI; |
18 | 18 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | public function getTranslationResources() : array |
100 | 100 | { |
101 | 101 | return [ |
102 | - __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Translations' |
|
102 | + __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'Translations' |
|
103 | 103 | ]; |
104 | 104 | } |
105 | 105 | } |