@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * thrown when we get a json error |
|
4 | - */ |
|
3 | + * thrown when we get a json error |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace Graviton\ImportExport\Exception; |
7 | 7 |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * mongodb client trait |
|
4 | - */ |
|
3 | + * mongodb client trait |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace Graviton\ImportExport\Command; |
7 | 7 |
@@ -97,7 +97,7 @@ |
||
97 | 97 | /** |
98 | 98 | * import a single file into a collection |
99 | 99 | * |
100 | - * @param SplFileInfo $file file |
|
100 | + * @param \SplFileInfo $file file |
|
101 | 101 | * @param InputInterface $input User input on console |
102 | 102 | * @param OutputInterface $output Output of the command |
103 | 103 | * |
@@ -116,7 +116,7 @@ |
||
116 | 116 | $this->getClient($input)->selectCollection($this->databaseName, $collectionName)->save($origDoc); |
117 | 117 | $output->writeln("<info>Imported <${file}> to <${collectionName}></info>"); |
118 | 118 | } catch (\Exception $e) { |
119 | - $output->writeln("<error>Error in <${file}>: ".$e->getMessage()."</error>"); |
|
119 | + $output->writeln("<error>Error in <${file}>: " . $e->getMessage() . "</error>"); |
|
120 | 120 | } |
121 | 121 | } |
122 | 122 | } |