Wrong ❌
if ($a == 1) {
return true;
}
return false;
Correct ✅
switch ($a) {
case 1:
return true;
break;
default:
return false;
break;
}
Wrong ❌
if ($a == 1) {
return true;
}
return false;
Correct ✅
switch ($a) {
case 1:
return true;
break;
default:
return false;
break;
}
For further actions, you may consider blocking this person and/or reporting abuse
Leapcell -
Crypto.Andy (DEV) -
Michael Levan -
Varun Kelkar -
Top comments (0)