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