@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | function getMatchers() |
59 | 59 | { |
60 | 60 | return array( |
61 | - 'returnArrayOfDomainEvents' => function ($subject) { |
|
61 | + 'returnArrayOfDomainEvents' => function($subject) { |
|
62 | 62 | foreach ($subject as $element) { |
63 | 63 | if (!$element instanceof DomainEventInterface) { |
64 | 64 | return false; |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | return true; |
69 | 69 | }, |
70 | - 'returnArrayWithAtLeastInstanceOf' => function ($subject, $eventClass) { |
|
70 | + 'returnArrayWithAtLeastInstanceOf' => function($subject, $eventClass) { |
|
71 | 71 | foreach ($subject as $element) { |
72 | 72 | if ($element instanceof $eventClass) { |
73 | 73 | return true; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Hexarchium\CoreDomain\Exception\CodeDomainException; |
6 | 6 | use Hexarchium\CoreDomain\Model\Domain\Exception\DomainNotFoundException; |
7 | 7 | use PhpSpec\ObjectBehavior; |
8 | -use Prophecy\Argument; |
|
9 | 8 | |
10 | 9 | class DomainNotFoundExceptionSpec extends ObjectBehavior |
11 | 10 | { |