@@ -26,8 +26,8 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | private function __construct(Instantiator $instance, Hydrator $hydrate) |
| 28 | 28 | { |
| 29 | - $this->make = $instance; |
|
| 30 | - $this->hydrator = $hydrate; |
|
| 29 | + $this->make=$instance; |
|
| 30 | + $this->hydrator=$hydrate; |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | /** |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | /** @inheritdoc */ |
| 71 | 71 | public function from(array $input): object |
| 72 | 72 | { |
| 73 | - $object = $this->make->instance(); |
|
| 73 | + $object=$this->make->instance(); |
|
| 74 | 74 | try { |
| 75 | 75 | $this->hydrator->writeTo($object, $input); |
| 76 | 76 | } catch (HydrationFailure $exception) { |
@@ -22,8 +22,8 @@ |
||
| 22 | 22 | |
| 23 | 23 | private function __construct(Satisfiable $condition, Deserializer $deserialize) |
| 24 | 24 | { |
| 25 | - $this->condition = $condition; |
|
| 26 | - $this->deserialize = $deserialize; |
|
| 25 | + $this->condition=$condition; |
|
| 26 | + $this->deserialize=$deserialize; |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /** |
@@ -27,8 +27,8 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | private function __construct(Instantiator $instance, Hydrator $hydrate) |
| 29 | 29 | { |
| 30 | - $this->make = $instance; |
|
| 31 | - $this->hydrator = $hydrate; |
|
| 30 | + $this->make=$instance; |
|
| 31 | + $this->hydrator=$hydrate; |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /** |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | /** @inheritdoc */ |
| 80 | 80 | public function from(array $input): iterable |
| 81 | 81 | { |
| 82 | - $collection = $this->make->instance(); |
|
| 82 | + $collection=$this->make->instance(); |
|
| 83 | 83 | $this->mustBeValid($collection, $input); |
| 84 | 84 | try { |
| 85 | 85 | $this->hydrator->writeTo($collection, $input); |