Use [] instead of array()

See: b851f9d1fc
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2019-05-04 14:42:52 +02:00
parent b851f9d1fc
commit 2ec96f829c
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -4178,7 +4178,7 @@ class Privileges
// Always use 'authentication_string' column
// for MySQL 5.7.6+ since it does not have
// the 'password' column at all
if (in_array(Util::getServerType(), array('MySQL', 'Percona Server'))
if (in_array(Util::getServerType(), ['MySQL', 'Percona Server'])
&& $serverVersion >= 50706
&& isset($row['authentication_string'])
) {