@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Zored\Telegram\Bot\Factory; |
| 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 Zored\Telegram\Bot\Update; |
| 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 Zored\Telegram\Bot; |
| 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 Zored\Telegram\Bot; |
| 6 | 6 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | */ |
| 36 | 36 | public function listen(array $updateHandlers): void |
| 37 | 37 | { |
| 38 | - $this->repeater->repeat(function () use ($updateHandlers) { |
|
| 38 | + $this->repeater->repeat(function() use ($updateHandlers) { |
|
| 39 | 39 | foreach ($this->getUpdates() as $update) { |
| 40 | 40 | foreach ($updateHandlers as $handler) { |
| 41 | 41 | $handler->handle($update); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Zored\Telegram\Madeline\Auth\Handler; |
| 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 Zored\Telegram\Madeline\Auth\Handler\Exception; |
| 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 Zored\Telegram\Madeline\Auth\Handler; |
| 6 | 6 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | public function get(AuthConfigInterface $config): AuthHandlerInterface |
| 30 | 30 | { |
| 31 | 31 | $handler = (new ConditionMatch($this->handlers))->find( |
| 32 | - function (AuthHandlerInterface $currentHandler) use ($config) { |
|
| 32 | + function(AuthHandlerInterface $currentHandler) use ($config) { |
|
| 33 | 33 | return $currentHandler->suits($config); |
| 34 | 34 | } |
| 35 | 35 | ); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Zored\Telegram\Madeline\Auth\Prompt; |
| 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 Zored\Telegram\Madeline\Config; |
| 6 | 6 | |