@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * Load rules and initial config from a *.php-file. |
| 63 | 63 | * |
| 64 | 64 | * @param string $path |
| 65 | - * @return array ($ruleset, $config) |
|
| 65 | + * @return Ruleset ($ruleset, $config) |
|
| 66 | 66 | */ |
| 67 | 67 | protected function load_rules_file($path) { |
| 68 | 68 | if (!file_exists($path)) { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | /** |
| 92 | 92 | * Create and initialize the DI-container. |
| 93 | 93 | * |
| 94 | - * @param RuleSet $ruleset |
|
| 94 | + * @param Ruleset $ruleset |
|
| 95 | 95 | * @param array &$configs |
| 96 | 96 | * @return Container |
| 97 | 97 | */ |
@@ -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 |