Remember in try and catch method we use a little $e even if we do not want to print the error
try {
// do something
}catch (Exception $e) {
return false ;
}
Now we can remove the $e and use the try – catch method peacefully like that ,
try {
// do something
}catch (Exception) {
return false ;
}