@@ -85,6 +85,9 @@ |
||
| 85 | 85 | } |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | + /** |
|
| 89 | + * @param DomainEvent $object |
|
| 90 | + */ |
|
| 88 | 91 | private function serialize(\ReflectionProperty $property, $object, array $result = []) |
| 89 | 92 | { |
| 90 | 93 | $property->setAccessible(true); |
@@ -13,8 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace LIN3S\SharedKernel\Event; |
| 15 | 15 | |
| 16 | -use App\Domain\Model\Post\PostId; |
|
| 17 | -use App\Domain\Model\Post\PostWasCreated; |
|
| 18 | 16 | use LIN3S\SharedKernel\Domain\Model\DomainEvent; |
| 19 | 17 | use LIN3S\SharedKernel\Exception\InvalidArgumentException; |
| 20 | 18 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace LIN3S\SharedKernel\Infrastructure\Symfony\HttpAction; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace LIN3S\SharedKernel\Application\Event; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace LIN3S\SharedKernel\Application\Event; |
| 15 | 15 | |