Completed
Push — master ( 993e51...be27ff )
by Tomasz
05:51
created
spec/Model/Domain/Entity/DomainSpec.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
spec/Model/Domain/Exception/DomainNotFoundExceptionSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.