| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 13 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 82 | View Code Duplication | public function actionRestore() |
|
| 83 | { |
||
| 84 | $this->stdout('Dumping '); |
||
| 85 | $this->stdout($this->getDbComponent(), Console::BOLD); |
||
| 86 | $this->stdout(' from '); |
||
| 87 | $this->stdout($this->getDumpFile(), Console::BOLD); |
||
| 88 | $this->stdout('... '); |
||
| 89 | |||
| 90 | $this->module->restore($this->file, $this->db); |
||
| 91 | |||
| 92 | $this->stdout('done', Console::BOLD); |
||
| 93 | $this->stdout("\n"); |
||
| 94 | } |
||
| 95 | } |
||
| 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.