From e164e22e13e588a725a6c726ab964de02388c310 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 21 Oct 2018 11:08:54 +0200 Subject: [PATCH] Yoda style if statement. --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index 6d9980c537..fffe561ea3 100644 --- a/config/database.php +++ b/config/database.php @@ -28,7 +28,7 @@ $username = ''; $password = ''; $database = ''; -if (!($databaseUrl === false)) { +if (!(false === $databaseUrl)) { $options = parse_url($databaseUrl); $host = $options['host']; $username = $options['user'];