Passed
Branch master (2accd2)
by Alex
02:02
created
Category
src/Provider/ConfigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
             foreach ($factories as $name => $factory) {
45 45
                 if (is_string($factory)) {
46
-                    if (! $adapter instanceof FactoryClassAwareInterface) {
46
+                    if (!$adapter instanceof FactoryClassAwareInterface) {
47 47
                         $exceptionMessage = sprintf(
48 48
                             'The adapter class \'%s\' does not support factory class registration for service \'%s\'',
49 49
                             get_class($adapter),
Please login to merge, or discard this patch.
src/Factory/ContainerFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function create(array $config = []): Container
30 30
     {
31 31
         $adapter = $config['adapter'] ?? null;
32
-        $logger  = $config['logger']  ?? new NullLogger();
32
+        $logger  = $config['logger'] ?? new NullLogger();
33 33
 
34 34
         if (null === $adapter) {
35 35
             throw new FactoryException(sprintf(
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             ));
39 39
         }
40 40
 
41
-        if (! $adapter instanceof ContainerAdapterInterface) {
41
+        if (!$adapter instanceof ContainerAdapterInterface) {
42 42
             throw new FactoryException(sprintf(
43 43
                 'The \'adapter\' configuration option must be a object of type \'%s\'; \'%s\' provided in \'%s\'',
44 44
                 ContainerAdapterInterface::class,
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             ));
48 48
         }
49 49
 
50
-        if (! $logger instanceof LoggerInterface) {
50
+        if (!$logger instanceof LoggerInterface) {
51 51
             throw new FactoryException(sprintf(
52 52
                 'The \'logger\' configuration option must be a object of type \'%s\'; \'%s\' provided in \'%s\'',
53 53
                 LoggerInterface::class,
Please login to merge, or discard this patch.