@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | public function removeOrganizer($eventId) |
43 | 43 | { |
44 | - $transaction = function ($connection) use ($eventId) { |
|
44 | + $transaction = function($connection) use ($eventId) { |
|
45 | 45 | if ($this->eventHasRelations($connection, $eventId)) { |
46 | 46 | $this->updateEventRelation($connection, $eventId, 'organizer', null); |
47 | 47 | } |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | */ |
68 | 68 | private function storeRelation($eventId, $relationType, $itemId) |
69 | 69 | { |
70 | - $transaction = function ($connection) use ($eventId, $relationType, $itemId) { |
|
70 | + $transaction = function($connection) use ($eventId, $relationType, $itemId) { |
|
71 | 71 | if ($this->eventHasRelations($connection, $eventId)) { |
72 | 72 | $this->updateEventRelation($connection, $eventId, $relationType, $itemId); |
73 | 73 | } else { |