@@ -135,7 +135,7 @@ |
||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | - * @return ConfigurationInterface |
|
| 138 | + * @return \Symfony\Component\Config\Definition\ConfigurationInterface |
|
| 139 | 139 | */ |
| 140 | 140 | abstract protected function getConfiguration(): ConfigurationInterface; |
| 141 | 141 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Configuration; |
| 6 | 6 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | */ |
| 81 | 81 | protected function getFileName(): string |
| 82 | 82 | { |
| 83 | - $env = getenv('ENV') ? '_' . getenv('ENV') : ''; |
|
| 83 | + $env = getenv('ENV') ? '_'.getenv('ENV') : ''; |
|
| 84 | 84 | |
| 85 | 85 | return sprintf(static::FILE_NAME, $env); |
| 86 | 86 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Command\Emulator; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Command\Emulator; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Command\Listener; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Command\Listener; |
| 6 | 6 | |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | * @author Stanislav Drozdov <[email protected]> |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | -declare(strict_types=1); |
|
| 13 | +declare(strict_types = 1); |
|
| 14 | 14 | |
| 15 | 15 | namespace Teebot\Api\Command; |
| 16 | 16 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Api; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Teebot\Api\Logger; |
| 6 | 6 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | public function __construct(ContainerInterface $config) |
| 30 | 30 | { |
| 31 | 31 | $this->config = $config; |
| 32 | - $filename = TEEBOT_ROOT . $this->config->get('logger.filename'); |
|
| 32 | + $filename = TEEBOT_ROOT.$this->config->get('logger.filename'); |
|
| 33 | 33 | $this->logger = new Monolog('Teebot'); |
| 34 | 34 | $this->logger->pushHandler( |
| 35 | 35 | new StreamHandler($filename, Monolog::WARNING) |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * @author Stanislav Drozdov <[email protected]> |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Teebot\Api; |
| 15 | 15 | |