Passed
Pull Request — master (#2)
by
unknown
09:41
created
src/Adapter/FileSystemAdapterFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@
 block discarded – undo
13 13
 {
14 14
     public function __invoke(ContainerInterface $container, array $options): FilesystemCachePool
15 15
     {
16
-        $flySystemServiceName = (string)($options['flySystemService'] ?? '');
17
-        $folder = (string)($options['folder'] ?? 'cache');
16
+        $flySystemServiceName = (string) ($options['flySystemService'] ?? '');
17
+        $folder = (string) ($options['folder'] ?? 'cache');
18 18
 
19 19
         $flySystem = $container->get($flySystemServiceName);
20 20
 
21 21
         if (!$flySystem instanceof FilesystemInterface) {
22 22
             throw new InvalidConfigException(
23
-                'Service provided for the filesystem must be an instance of ' . FilesystemInterface::class
23
+                'Service provided for the filesystem must be an instance of '.FilesystemInterface::class
24 24
             );
25 25
         }
26 26
 
Please login to merge, or discard this patch.
src/Adapter/ApcuAdapterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function __invoke(ContainerInterface $container, array $options): ApcuCachePool
13 13
     {
14
-        $skipOnCli = (bool)($options['skipOnCli'] ?? false);
14
+        $skipOnCli = (bool) ($options['skipOnCli'] ?? false);
15 15
 
16 16
         return new ApcuCachePool($skipOnCli);
17 17
     }
Please login to merge, or discard this patch.
src/Adapter/IlluminateAdapterFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 {
14 14
     public function __invoke(ContainerInterface $container, array $options): IlluminateCachePool
15 15
     {
16
-        $cacheStoreName = (string)($options['store'] ?? '');
16
+        $cacheStoreName = (string) ($options['store'] ?? '');
17 17
 
18 18
         $cacheStore = $container->get($cacheStoreName);
19 19
 
20 20
         if (!$cacheStore instanceof Store) {
21 21
             throw new InvalidConfigException(
22
-                'Service provided for the Illuminate Cache must be an instance of ' . Store::class
22
+                'Service provided for the Illuminate Cache must be an instance of '.Store::class
23 23
             );
24 24
         }
25 25
 
Please login to merge, or discard this patch.
src/Adapter/ApcAdapterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function __invoke(ContainerInterface $container, array $options): ApcCachePool
13 13
     {
14
-        $skipOnCli = (bool)($options['skipOnCli'] ?? false);
14
+        $skipOnCli = (bool) ($options['skipOnCli'] ?? false);
15 15
 
16 16
         return new ApcCachePool($skipOnCli);
17 17
     }
Please login to merge, or discard this patch.