Skip to content

Commit

Permalink
fix: php 8.4 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored Aug 28, 2024
1 parent 34efe65 commit cc8a009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rize/UriTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class UriTemplate
$base_uri,
$params = array();

public function __construct($base_uri = '', $params = array(), Parser $parser = null)
public function __construct($base_uri = '', $params = array(), ?Parser $parser = null)
{
$this->base_uri = $base_uri;
$this->params = $params;
Expand Down

0 comments on commit cc8a009

Please sign in to comment.