@@ -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); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | $uploadFile = $this->guardFiles($request->files); |
54 | 54 | |
55 | 55 | $uuid = $this->uuidFactory->uuid4(); |
56 | - $filename = $uuid->toString().'.'. $uploadFile->getClientOriginalExtension(); |
|
56 | + $filename = $uuid->toString().'.'.$uploadFile->getClientOriginalExtension(); |
|
57 | 57 | |
58 | 58 | $stream = fopen($uploadFile->getRealPath(), 'r+'); |
59 | 59 | $this->fileSystem->writeStream($filename, $stream); |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | [ |
33 | 33 | 'label' => false, |
34 | 34 | 'choices' => $languages, |
35 | - 'choice_label' => function(Language $language) { |
|
35 | + 'choice_label' => function (Language $language) { |
|
36 | 36 | return $language->toNative(); |
37 | 37 | } |
38 | 38 | ] |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | [ |
51 | 51 | 'label' => false, |
52 | 52 | 'choices' => $categories, |
53 | - 'choice_label' => function(Category $category) { |
|
53 | + 'choice_label' => function (Category $category) { |
|
54 | 54 | return $category->getName()->toNative(); |
55 | 55 | }, |
56 | 56 | ] |