Skip to content

Commit

Permalink
Fix PSR
Browse files Browse the repository at this point in the history
  • Loading branch information
louislivi committed Dec 5, 2018
1 parent 84cebbf commit ee512e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MysqlProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function onClientReceive(\Swoole\Coroutine\Client $cli, string $data)
new MySQLException('mysql_old_password plugin is not supported yet');
break;
case 'mysql_clear_password':
$password = getString(array_merge(getBytes($this->account['password']),[0]));
$password = getString(array_merge(getBytes($this->account['password']), [0]));
break;
default:
$password = SecurityUtil::scramble411($this->account['password'], $this ->salt);
Expand Down

0 comments on commit ee512e4

Please sign in to comment.