@@ -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); |
@@ -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'); |