mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Yoda style if statement.
This commit is contained in:
parent
c1c4c96918
commit
e164e22e13
@ -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'];
|
||||||
|
Loading…
Reference in New Issue
Block a user