1
0
Fork 0
mirror of synced 2024-06-30 04:00:34 +12:00

Refactored the condition for strict inequality

This commit is contained in:
Bhaskar Singh 2023-05-02 23:47:50 +05:30
parent 7064f884aa
commit a4299a69ef

View file

@ -558,7 +558,7 @@ App::shutdown()
App::init()
->groups(['usage'])
->action(function () {
if (App::getEnv('_APP_USAGE_STATS', 'enabled') != 'enabled') {
if (App::getEnv('_APP_USAGE_STATS', 'enabled') !== 'enabled') {
throw new Exception(Exception::GENERAL_USAGE_DISABLED);
}
});