@@ -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\Templates; |
| 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 FondBot\Templates; |
| 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 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 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function register(): void |
| 24 | 24 | { |
| 25 | - $this->getContainer()->share(IntentManager::class, function () { |
|
| 25 | + $this->getContainer()->share(IntentManager::class, function() { |
|
| 26 | 26 | /** @var Config $config */ |
| 27 | 27 | $config = $this->getContainer()->get(Config::class); |
| 28 | 28 | |
@@ -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 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function register(): void |
| 24 | 24 | { |
| 25 | - $this->getContainer()->share(ContextManager::class, function () { |
|
| 25 | + $this->getContainer()->share(ContextManager::class, function() { |
|
| 26 | 26 | return new ContextManager( |
| 27 | 27 | $this->getContainer(), |
| 28 | 28 | $this->getContainer()->get(Cache::class) |
@@ -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\Drivers; |
| 6 | 6 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function register(): void |
| 32 | 32 | { |
| 33 | - $this->getContainer()->share(DriverManager::class, function () { |
|
| 33 | + $this->getContainer()->share(DriverManager::class, function() { |
|
| 34 | 34 | $manager = new DriverManager($this->getContainer()); |
| 35 | 35 | |
| 36 | 36 | // Here we will discover all drivers installed |
@@ -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\Drivers; |
| 6 | 6 | |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | $parameters = Arr::get($this->parameters, $channel->getDriver(), []); |
| 85 | 85 | |
| 86 | 86 | collect($parameters) |
| 87 | - ->each(function (string $parameter) use ($channel) { |
|
| 87 | + ->each(function(string $parameter) use ($channel) { |
|
| 88 | 88 | if ($channel->getParameter($parameter) === null) { |
| 89 | 89 | throw new InvalidConfiguration('Invalid `'.$channel->getName().'` channel configuration.'); |
| 90 | 90 | } |
@@ -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\Filesystem; |
| 6 | 6 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function register(): void |
| 32 | 32 | { |
| 33 | - $this->getContainer()->share(Filesystem::class, function () { |
|
| 33 | + $this->getContainer()->share(Filesystem::class, function() { |
|
| 34 | 34 | return new Filesystem($this->adapter); |
| 35 | 35 | }); |
| 36 | 36 | } |
@@ -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 | |