Skip to content

Commit

Permalink
Fix PHP 8.4 deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Nov 19, 2024
1 parent 6f19af5 commit 15514ea
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Command/AbstractCommand.php
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ abstract class AbstractCommand extends Command
/**
* AbstractCommand constructor.
*/
public function __construct(ContainerInterface $container, string $name = null)
public function __construct(ContainerInterface $container, ?string $name = null)
{
parent::__construct($name);
$this->container = $container;
2 changes: 1 addition & 1 deletion src/Models/ClientConfiguration.php
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ public function __construct(
string $uri,
string $username = '',
string $password = '',
string $authSource = null,
?string $authSource = null,
array $options = [],
array $driverOptions = []
) {

0 comments on commit 15514ea

Please sign in to comment.