| @@ -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; | 
| @@ -210,6 +210,7 @@ discard block | ||
| 210 | 210 | // IMPLEMENTATION OF Parser | 
| 211 | 211 | |
| 212 | 212 | /** | 
| 213 | + * @param string $source | |
| 213 | 214 | * @return Ruleset | 
| 214 | 215 | */ | 
| 215 | 216 |      public function parse($source) { | 
| @@ -270,6 +271,7 @@ discard block | ||
| 270 | 271 | |
| 271 | 272 | /** | 
| 272 | 273 | * @param string | 
| 274 | + * @param string $content | |
| 273 | 275 | * @return string | 
| 274 | 276 | */ | 
| 275 | 277 |      protected function trim_explanation($content) { | 
| @@ -338,7 +340,7 @@ discard block | ||
| 338 | 340 | /** | 
| 339 | 341 | * Fetch a rule schema and its arguments from the stream. | 
| 340 | 342 | * | 
| 341 | - * @return array (R\Schema, array) | |
| 343 | + * @return R\Schema (R\Schema, array) | |
| 342 | 344 | */ | 
| 343 | 345 |      protected function schema() { | 
| 344 | 346 | $t = $this->current_symbol(); |