Skip to content

Commit

Permalink
changed class of pdo to PDO only without null
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-xz committed Jul 2, 2024
1 parent 2a3ad78 commit b362f97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Urls/Database/Connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Connect
{
private ?\PDO $conn = null;
private \PDO $conn;

public function __construct()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Urls/Database/DbUrls.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class DbUrls
{
protected ?\PDO $db;
protected \PDO $db;

public function __construct(Connect $db)
{
Expand Down

0 comments on commit b362f97

Please sign in to comment.