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 = ''; $password = '';
$database = ''; $database = '';
if (!($databaseUrl === false)) { if (!(false === $databaseUrl)) {
$options = parse_url($databaseUrl); $options = parse_url($databaseUrl);
$host = $options['host']; $host = $options['host'];
$username = $options['user']; $username = $options['user'];