@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | * Index a directory. |
101 | 101 | * |
102 | 102 | * @param string $path |
103 | - * @param array $ignore_paths |
|
103 | + * @param string[] $ignore_paths |
|
104 | 104 | * @return null |
105 | 105 | */ |
106 | 106 | public function index_directory($path, array $ignore_paths) { |
@@ -129,6 +129,7 @@ discard block |
||
129 | 129 | /** |
130 | 130 | * Initialize the filesystem abstraction. |
131 | 131 | * |
132 | + * @param string $path |
|
132 | 133 | * @return Flightcontrol |
133 | 134 | */ |
134 | 135 | public function init_flightcontrol($path) { |
@@ -10,9 +10,7 @@ |
||
10 | 10 | |
11 | 11 | namespace Lechimp\Dicto\Rules; |
12 | 12 | |
13 | -use Lechimp\Dicto\Definition as Def; |
|
14 | 13 | use Lechimp\Dicto\Analysis\Query; |
15 | -use Lechimp\Dicto\Analysis\Violation; |
|
16 | 14 | |
17 | 15 | /** |
18 | 16 | * This checks wheather there is some text in the definition of an entity. |
@@ -117,6 +117,7 @@ discard block |
||
117 | 117 | // IMPLEMENTATION OF Parser |
118 | 118 | |
119 | 119 | /** |
120 | + * @param string $source |
|
120 | 121 | * @return Ruleset |
121 | 122 | */ |
122 | 123 | public function parse($source) { |
@@ -220,7 +221,7 @@ discard block |
||
220 | 221 | /** |
221 | 222 | * Fetch a rule schema and its arguments from the stream. |
222 | 223 | * |
223 | - * @return array (R\Schema, array) |
|
224 | + * @return R\Schema (R\Schema, array) |
|
224 | 225 | */ |
225 | 226 | protected function rule_schema($right_binding_power = 0) { |
226 | 227 | $t = $this->current_symbol(); |
@@ -9,7 +9,6 @@ |
||
9 | 9 | */ |
10 | 10 | |
11 | 11 | namespace Lechimp\Dicto\Definition\Fluid; |
12 | -use Lechimp\Dicto\Definition as Def; |
|
13 | 12 | |
14 | 13 | /** |
15 | 14 | * Provides fluid interface to entities that were already defined before, at |