Fix some missed type hints
This commit is contained in:
parent
1d583bcc23
commit
608b25207a
@ -37,7 +37,7 @@ class Driver extends AbstractDriver {
|
|||||||
* @param string $pass
|
* @param string $pass
|
||||||
* @param array $driverOptions
|
* @param array $driverOptions
|
||||||
*/
|
*/
|
||||||
public function __construct($dsn, $user=NULL, $pass=NULL, array $driverOptions=[])
|
public function __construct(string $dsn, string $user=NULL, string $pass=NULL, array $driverOptions=[])
|
||||||
{
|
{
|
||||||
if (strpos($dsn, 'sqlite:') === FALSE)
|
if (strpos($dsn, 'sqlite:') === FALSE)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user