Passed
Branch 1.0 (f7255b)
by Vladimir
06:00
created
src/Drivers/DriverManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace FondBot\Drivers;
6 6
 
@@ -79,13 +79,13 @@  discard block
 block discarded – undo
79 79
     {
80 80
         /** @var Asset $asset */
81 81
         $asset = collect($this->discovery->getAssetType(Driver::class)->getAssets())
82
-            ->first(function (Asset $asset) use ($driver) {
82
+            ->first(function(Asset $asset) use ($driver) {
83 83
                 return hash_equals($asset->getValue(), get_class($driver));
84 84
             });
85 85
 
86 86
         $parameters = Arr::get($asset->getMetadata(), 'parameters', []);
87 87
 
88
-        collect($parameters)->each(function (string $parameter) use ($channel) {
88
+        collect($parameters)->each(function(string $parameter) use ($channel) {
89 89
             if ($channel->getParameter($parameter) === null) {
90 90
                 throw new InvalidConfiguration('Invalid `'.$channel->getName().'` channel configuration.');
91 91
             }
Please login to merge, or discard this patch.