Skip to content

Commit a0d95d3

Browse files
Make optional for raw procedures
1 parent 3da19a5 commit a0d95d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Expressions/Procedures/Procedure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ abstract class Procedure implements QueryConvertible
3838
* @param string $functionName The name of the function to call
3939
* @param AnyType|AnyType[]|bool|bool[]|float|float[]|int|int[]|mixed[]|mixed[][]|Pattern|Pattern[]|string|string[]|(AnyType|bool|float|int|mixed[]|Pattern|string)[] $parameters The parameters to pass to the function call
4040
*/
41-
public static function raw(string $functionName, $parameters): Raw
41+
public static function raw(string $functionName, $parameters = []): Raw
4242
{
4343
if (!is_array($parameters)) {
4444
$parameters = [$parameters];

0 commit comments

Comments
 (0)