Completed
Pull Request — master (#17)
by Luc
06:08 queued 03:05
created
src/Image/Controllers/ImageController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         $this->imageValidator->validate($uploadedFile);
71 71
 
72 72
         $uuid = $this->uuidFactory->uuid4();
73
-        $filename = $uuid->toString().'.'. $uploadedFile->getClientOriginalExtension();
73
+        $filename = $uuid->toString().'.'.$uploadedFile->getClientOriginalExtension();
74 74
 
75 75
         $stream = fopen($uploadedFile->getRealPath(), 'r+');
76 76
         $this->fileSystem->writeStream($filename, $stream);
Please login to merge, or discard this patch.
src/Question/Controllers/QuestionViewController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     {
118 118
         if ($request->getMethod() === 'POST') {
119 119
             $this->questionRepository->delete(
120
-               $this->uuidFactory->fromString($id)
120
+                $this->uuidFactory->fromString($id)
121 121
             );
122 122
 
123 123
             return $this->redirectToRoute('questions_view_index');
Please login to merge, or discard this patch.