Return types
This commit is contained in:
1 parent
af588ab174
commit
2168e37413
12 files changed
+35
-46
No files matched your search
@@ -8,7 +8,7 @@ class Database extends PDO
|
||||
{
|
||||
private static array $instances = [];
|
||||
|
||||
protected function __construct($dsn, $username = null, $password = null, array $options = null)
|
||||
protected function __construct(string $dsn, string $username = null, string $password = null, array $options = null)
|
||||
{
|
||||
parent::__construct($dsn, $username, $password, $options);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user