@@ -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 | * |
@@ -128,7 +128,7 @@ |
||
128 | 128 | $this->getClient($input)->selectCollection($this->databaseName, $collectionName)->save($origDoc); |
129 | 129 | $output->writeln("<info>Imported <${file}> to <${collectionName}></info>"); |
130 | 130 | } catch (\Exception $e) { |
131 | - $errorMessage = "<error>Error in <${file}>: ".$e->getMessage()."</error>"; |
|
131 | + $errorMessage = "<error>Error in <${file}>: " . $e->getMessage() . "</error>"; |
|
132 | 132 | $output->writeln($errorMessage); |
133 | 133 | $this->errorStack[] = $errorMessage; |
134 | 134 | } |