Skip to content

Commit

Permalink
Fix docblock issue from #45749 (#46026)
Browse files Browse the repository at this point in the history
Bladecompiler check accepts mixed parameters for user func
Schemastate makeProcess accepts mixed parameters for user func

Viewcontroller invoke accepts mixed args(eg status is int and data an array)

(Factory)Sequence accepts mixed values

QueueingFactory que accepts mixed params

the docblock should be `@param type ...$values` instead of the result of $values(array) in order to be correct

otherwise IDE would mark an error

Signed-off-by: René Geuze <[email protected]>
  • Loading branch information
renegeuze authored Feb 8, 2023
1 parent eebf7bf commit f263ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compilers/BladeCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ public function if($name, callable $callback)
* Check the result of a condition.
*
* @param string $name
* @param array ...$parameters
* @param mixed ...$parameters
* @return bool
*/
public function check($name, ...$parameters)
Expand Down

0 comments on commit f263ca8

Please sign in to comment.