@@ -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); |
@@ -55,10 +55,10 @@ |
||
55 | 55 | $formBuilder = $this->createFormBuilder(); |
56 | 56 | |
57 | 57 | $this->registrationFormType->buildForm( |
58 | - $formBuilder, |
|
59 | - [ |
|
60 | - 'translator' => $this->tranlator, |
|
61 | - ] |
|
58 | + $formBuilder, |
|
59 | + [ |
|
60 | + 'translator' => $this->tranlator, |
|
61 | + ] |
|
62 | 62 | ); |
63 | 63 | |
64 | 64 | return $formBuilder->getForm(); |