@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Conversation\Activators; |
| 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 FondBot\Contracts; |
| 6 | 6 | |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * |
| 17 | 17 | * @return Job |
| 18 | 18 | */ |
| 19 | - public function pull(): ?Job; |
|
| 19 | + public function pull(): ? Job; |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * Push command onto the queue. |
@@ -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 FondBot\Queue\Adapters; |
| 6 | 6 | |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * |
| 18 | 18 | * @return Job |
| 19 | 19 | */ |
| 20 | - public function pull(): ?Job |
|
| 20 | + public function pull(): ? Job |
|
| 21 | 21 | { |
| 22 | 22 | return null; |
| 23 | 23 | } |
@@ -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 FondBot\Queue\Adapters; |
| 6 | 6 | |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * |
| 32 | 32 | * @return Job|SerializableForQueue |
| 33 | 33 | */ |
| 34 | - public function pull(): ?Job |
|
| 34 | + public function pull(): ? Job |
|
| 35 | 35 | { |
| 36 | 36 | $pheanstalkJob = $this->connection->watch($this->queue)->reserve(); |
| 37 | 37 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Application; |
| 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 FondBot\Conversation; |
| 6 | 6 | |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | */ |
| 24 | 24 | public function register(): void |
| 25 | 25 | { |
| 26 | - $this->container->share(SessionManager::class, function () { |
|
| 26 | + $this->container->share(SessionManager::class, function() { |
|
| 27 | 27 | return new SessionManager( |
| 28 | 28 | $this->container, |
| 29 | 29 | $this->container->get(CacheInterface::class) |