Completed
Branch master (af06a0)
by Jesse
03:24 queued 31s
created
src/NoContainerAvailable.php 1 patch
Spacing   +2 added lines, -2 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 Stratadox\Hydration\Mapper;
6 6
 
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     extends BadMethodCallException
11 11
     implements InvalidMapperConfiguration
12 12
 {
13
-    public static function for(string $class) : InvalidMapperConfiguration
13
+    public static function for (string $class) : InvalidMapperConfiguration
14 14
     {
15 15
         return new NoContainerAvailable(sprintf(
16 16
             'Could not produce mapping due to a missing container for class `%s`',
Please login to merge, or discard this patch.
src/Instruction/Relation/HasMany.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 Stratadox\Hydration\Mapper\Instruction\Relation;
6 6
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             );
37 37
         }
38 38
         if (!isset($this->loader)) {
39
-            throw NoLoaderAvailable::for($this->class);
39
+            throw NoLoaderAvailable::for ($this->class);
40 40
         }
41 41
         if ($this->implements(Proxy::class, $this->class)) {
42 42
             return HasManyProxies::inPropertyWithDifferentKey($property,
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             );
51 51
         }
52 52
         if (!isset($this->container)) {
53
-            throw NoContainerAvailable::for($this->class);
53
+            throw NoContainerAvailable::for ($this->class);
54 54
         }
55 55
         return HasOneProxy::inProperty($property,
56 56
             ProxyFactory::fromThis(
Please login to merge, or discard this patch.