@@ -70,7 +70,7 @@ |
||
| 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); |
@@ -117,7 +117,7 @@ |
||
| 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'); |