@@ -59,7 +59,7 @@ |
||
| 59 | 59 | { |
| 60 | 60 | $categoriesFile = $input->getArgument('categories_file'); |
| 61 | 61 | if (!$categoriesFile) { |
| 62 | - $categoriesFile = __DIR__ . '/categories.yaml'; |
|
| 62 | + $categoriesFile = __DIR__.'/categories.yaml'; |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | $categoriesAsYml = Yaml::parseFile($categoriesFile); |
@@ -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); |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | { |
| 163 | 163 | if ($request->getMethod() === 'POST') { |
| 164 | 164 | $this->questionRepository->delete( |
| 165 | - $this->uuidFactory->fromString($id) |
|
| 165 | + $this->uuidFactory->fromString($id) |
|
| 166 | 166 | ); |
| 167 | 167 | |
| 168 | 168 | $this->addFlash('success', 'De vraag is verwijderd.'); |