More yoda conditions
This commit is contained in:
1 parent
d9122a410d
commit
0a4c81c105
97 files changed
+323
-289
No files matched your search
@@ -241,7 +241,7 @@ class CPanel_Host_Provider extends Base_Host_Provider {
|
||||
*/
|
||||
public function load_api() {
|
||||
|
||||
if ($this->api === null) {
|
||||
if (null === $this->api) {
|
||||
$username = defined('WU_CPANEL_USERNAME') ? WU_CPANEL_USERNAME : '';
|
||||
$password = defined('WU_CPANEL_PASSWORD') ? WU_CPANEL_PASSWORD : '';
|
||||
$host = defined('WU_CPANEL_HOST') ? WU_CPANEL_HOST : '';
|
||||
|
||||
Reference in new issue
Block a user