@@ -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(); |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Lechimp\Dicto\Indexer\Insert; |
15 | 15 | use Lechimp\Dicto\Indexer\Location; |
16 | 16 | use Lechimp\Dicto\Analysis\Query; |
17 | -use Lechimp\Dicto\Analysis\Violation; |
|
18 | 17 | use \Lechimp\Dicto\Variables\Variable; |
19 | 18 | |
20 | 19 | /** |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * Fetch arguments for the Property from a stream of tokens during parsing. |
31 | 31 | * |
32 | 32 | * @param ArgumentParser $parser |
33 | - * @return array |
|
33 | + * @return string[] |
|
34 | 34 | */ |
35 | 35 | public function fetch_arguments(ArgumentParser $parser) { |
36 | 36 | $regexp = $parser->fetch_string(); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * Compile the property to an SQL expression. |
59 | 59 | * |
60 | - * @param array $argument |
|
60 | + * @param array $arguments |
|
61 | 61 | * @param ExpressionBuilder $builder |
62 | 62 | * @param string $table_name |
63 | 63 | * @param bool $negate |
@@ -54,7 +54,7 @@ |
||
54 | 54 | /** |
55 | 55 | * Compile the property to an SQL expression. |
56 | 56 | * |
57 | - * @param array $argument |
|
57 | + * @param array $arguments |
|
58 | 58 | * @param ExpressionBuilder $builder |
59 | 59 | * @param string $table_name |
60 | 60 | * @param bool $negate |
@@ -161,7 +161,7 @@ |
||
161 | 161 | * |
162 | 162 | * @param string $id |
163 | 163 | * @param string $table |
164 | - * @param string $id_colum |
|
164 | + * @param string $id_column |
|
165 | 165 | * @return int|null |
166 | 166 | */ |
167 | 167 | protected function get_int_id($id, $table, $id_column) { |
@@ -12,11 +12,9 @@ |
||
12 | 12 | |
13 | 13 | use Lechimp\Dicto\Variables\Variable; |
14 | 14 | use Lechimp\Dicto\Analysis\Query; |
15 | -use Lechimp\Dicto\Analysis\CompilesVars; |
|
16 | 15 | use Lechimp\Dicto\Indexer\Insert; |
17 | 16 | use Lechimp\Dicto\Indexer\CachesReferences; |
18 | 17 | use Doctrine\DBAL\Schema as S; |
19 | -use Doctrine\DBAL\Types\Type; |
|
20 | 18 | use Doctrine\DBAL\Schema\Synchronizer\SingleDatabaseSynchronizer; |
21 | 19 | |
22 | 20 | class IndexDB extends DB implements Insert, Query { |
@@ -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) { |
@@ -257,6 +258,7 @@ discard block |
||
257 | 258 | * @param string $type |
258 | 259 | * @param int $type |
259 | 260 | * @param \PhpParser\Node|null $node |
261 | + * @param integer $id |
|
260 | 262 | */ |
261 | 263 | protected function call_definition_listener($which, $type, $id, \PhpParser\Node $node = null) { |
262 | 264 | $listeners = &$this->$which; |