| @@ -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) { | 
| @@ -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 |