Skip to content

Commit

Permalink
Update Config.php for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
andypost authored Jul 22, 2024
1 parent 248567e commit cf93bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Config implements ConfigInterface, ConfigInterpolatorInterface
* @param array $data
* Config data to store.
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
$this->config = new Data($data ?: []);
$this->setDefaults(new Data());
Expand Down

0 comments on commit cf93bbf

Please sign in to comment.