Yoda style if statement.

This commit is contained in:
James Cole 2018-10-21 11:08:54 +02:00
parent c1c4c96918
commit e164e22e13

View File

@ -28,7 +28,7 @@ $username = '';
$password = '';
$database = '';
if (!($databaseUrl === false)) {
if (!(false === $databaseUrl)) {
$options = parse_url($databaseUrl);
$host = $options['host'];
$username = $options['user'];