Skip to content

Commit

Permalink
Use [] instead of array()
Browse files Browse the repository at this point in the history
See: b851f9d
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed May 4, 2019
1 parent b851f9d commit 2ec96f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/Server/Privileges.php
Original file line number Diff line number Diff line change
Expand Up @@ -4178,7 +4178,7 @@ public function getDataForChangeOrCopyUser()
// 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'])
) {
Expand Down

0 comments on commit 2ec96f8

Please sign in to comment.