@@ -11,7 +11,6 @@ |
||
| 11 | 11 | namespace Lechimp\Dicto\App; |
| 12 | 12 | |
| 13 | 13 | use Lechimp\Dicto\App\RuleLoader; |
| 14 | -use Lechimp\Dicto\Rules\Ruleset; |
|
| 15 | 14 | use Symfony\Component\Yaml\Yaml; |
| 16 | 15 | use Pimple\Container; |
| 17 | 16 | use PhpParser\ParserFactory; |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | } |
| 163 | 163 | |
| 164 | 164 | /** |
| 165 | - * @param mixed $index |
|
| 165 | + * @param Insert|null $index |
|
| 166 | 166 | * @return Graph\IndexDB |
| 167 | 167 | */ |
| 168 | 168 | protected function force_graph_index_db($index) { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | /** |
| 180 | - * @param mixed $index |
|
| 180 | + * @param Insert $index |
|
| 181 | 181 | * @return IndexDB |
| 182 | 182 | */ |
| 183 | 183 | protected function force_app_index_db($index) { |
@@ -90,6 +90,7 @@ |
||
| 90 | 90 | * If that is also not the case, we assume the class is in the global |
| 91 | 91 | * namespace. |
| 92 | 92 | * |
| 93 | + * @param string $name |
|
| 93 | 94 | * @return string |
| 94 | 95 | */ |
| 95 | 96 | protected function fully_qualified_class_name($name) { |
@@ -257,7 +257,7 @@ |
||
| 257 | 257 | * Get information about a rule. |
| 258 | 258 | * |
| 259 | 259 | * @param int $rule |
| 260 | - * @return array<string,string> with keys 'rule', 'explanation' |
|
| 260 | + * @return integer|null with keys 'rule', 'explanation' |
|
| 261 | 261 | */ |
| 262 | 262 | public function rule_info($rule) { |
| 263 | 263 | $b = $this->result_db->builder(); |