| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 13 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 65 | View Code Duplication | public function actionDump() |
|
| 66 | { |
||
| 67 | $this->stdout('Dumping '); |
||
| 68 | $this->stdout($this->getDbComponent(), Console::BOLD); |
||
| 69 | $this->stdout(' to '); |
||
| 70 | $this->stdout($this->getDumpFile(), Console::BOLD); |
||
| 71 | $this->stdout('... '); |
||
| 72 | |||
| 73 | $this->module->dump($this->file, $this->db); |
||
| 74 | |||
| 75 | $this->stdout('done', Console::BOLD); |
||
| 76 | $this->stdout("\n"); |
||
| 77 | } |
||
| 78 | |||
| 96 |
This check looks for the generic type
arrayas a return type and suggests a more specific type. This type is inferred from the actual code.