Skip to content

Commit

Permalink
Fix pass-through arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
shaedrich authored Feb 8, 2025
1 parent dc16666 commit e0eacd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Rules/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Url implements Stringable
*/
public function __construct($protocols = null)
{
$this->protocols($protocols);
$this->protocols(...func_get_args());
}

public function active(bool $active)
Expand Down

0 comments on commit e0eacd0

Please sign in to comment.