Fix some missed type hints

This commit is contained in:
Timothy Warren 2018-01-24 13:17:00 -05:00
parent 1d583bcc23
commit 608b25207a

View File

@ -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)
{ {