Test Failed
Pull Request — master (#103)
by
unknown
01:57
created
src/Domain/Service/Availability/Filters/IsAvailable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     public function filter(Collection $tickets): Collection
21 21
     {
22
-        $p = function (TicketCounter $ticket) {
22
+        $p = function(TicketCounter $ticket) {
23 23
             return $ticket->getRemaining() > 0;
24 24
         };
25 25
 
Please login to merge, or discard this patch.
src/Domain/Service/Availability/Filters/ByDate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $configuration = $this->configuration;
34 34
         $today = new \DateTime();
35 35
 
36
-        $p = function (TicketCounter $ticket) use ($configuration, $today) {
36
+        $p = function(TicketCounter $ticket) use ($configuration, $today) {
37 37
             $metadata = $configuration->getTicketMetadata($ticket->getTicketType()->getIdentifier());
38 38
 
39 39
             return $metadata->isAvailableOn($today);
Please login to merge, or discard this patch.
src/Domain/Model/Ticket/TicketPurchase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
             throw new \DomainException('Number of delegates\' information supplied doesn\'t match number of tickets');
90 90
         }
91 91
 
92
-        $iterator = new \MultipleIterator(\MultipleIterator::MIT_KEYS_NUMERIC | \MultipleIterator::MIT_NEED_ALL);
92
+        $iterator = new \MultipleIterator(\MultipleIterator::MIT_KEYS_NUMERIC|\MultipleIterator::MIT_NEED_ALL);
93 93
         $iterator->attachIterator(new \ArrayIterator($delegateInformation), 'delegate');
94 94
         $iterator->attachIterator(new \ArrayIterator($this->tickets), 'ticketId');
95 95
 
Please login to merge, or discard this patch.