Passed
Push — master ( 55824b...ad17d9 )
by Florian
03:36
created
src/Controller/ApiController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 
178 178
         //get request fields
179 179
         $identifier = $request->request->get('identifier');
180
-        $timeNeededInSeconds = (int)$request->request->get('timeNeededInSeconds');
180
+        $timeNeededInSeconds = (int) $request->request->get('timeNeededInSeconds');
181 181
 
182 182
         $participant = $this->getDoctrine()->getRepository(Participant::class)->findOneBy(['identifier' => $identifier, 'event' => $event->getId()]);
183 183
         if ($participant === null || $participant->getTimeNeededInSeconds() !== null) {
Please login to merge, or discard this patch.