@@ -353,8 +353,8 @@ |
||
| 353 | 353 | * @return bool True if all the filter rules pass, false if not. |
| 354 | 354 | * |
| 355 | 355 | */ |
| 356 | - public function filter() |
|
| 357 | - { |
|
| 356 | + public function filter() |
|
| 357 | + { |
|
| 358 | 358 | $this->success = $this->filter->apply($this); |
| 359 | 359 | $this->failures = $this->filter->getFailures(); |
| 360 | 360 | |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | * |
| 109 | 109 | * @param string $name The input name. |
| 110 | 110 | * |
| 111 | - * @return mixed The input value. |
|
| 111 | + * @return AbstractInput The input value. |
|
| 112 | 112 | * |
| 113 | 113 | */ |
| 114 | 114 | public function __get($name) |
@@ -334,7 +334,7 @@ discard block |
||
| 334 | 334 | * |
| 335 | 335 | * @param string $name The input name. |
| 336 | 336 | * |
| 337 | - * @return mixed |
|
| 337 | + * @return AbstractInput |
|
| 338 | 338 | * |
| 339 | 339 | */ |
| 340 | 340 | public function get($name = null) |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * |
| 81 | 81 | * @param string $message The message when the rule fails. |
| 82 | 82 | * |
| 83 | - * @param Closure $closure A closure that implements the rule. It must |
|
| 83 | + * @param \Closure $closure A closure that implements the rule. It must |
|
| 84 | 84 | * have the signature `function ($value, &$fields)`; it must return |
| 85 | 85 | * boolean true on success, or boolean false on failure. |
| 86 | 86 | * |