mirror of
https://github.com/vrana/adminer.git
synced 2026-05-06 20:38:01 +02:00
Doc-comments: Move return types to declaration
This commit is contained in:
@@ -8,9 +8,8 @@ if (extension_loaded('pdo')) {
|
||||
|
||||
/** Connect to server using DSN
|
||||
* @param mixed[] $options
|
||||
* @return void
|
||||
*/
|
||||
function dsn(string $dsn, string $username, string $password, array $options = array()) {
|
||||
function dsn(string $dsn, string $username, string $password, array $options = array()): void {
|
||||
$options[\PDO::ATTR_ERRMODE] = \PDO::ERRMODE_SILENT;
|
||||
$options[\PDO::ATTR_STATEMENT_CLASS] = array('Adminer\PdoResult');
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user