mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
Remove unused exception variables, now that this is possible with PHP8
This commit is contained in:
parent
fe16cb3b21
commit
8127f0c7e2
36 changed files with 60 additions and 63 deletions
|
@ -100,7 +100,7 @@ class HttpInput{
|
|||
try{
|
||||
return intval($var);
|
||||
}
|
||||
catch(\Exception $ex){
|
||||
catch(Exception){
|
||||
return $default;
|
||||
}
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ class HttpInput{
|
|||
try{
|
||||
return floatval($var);
|
||||
}
|
||||
catch(\Exception $ex){
|
||||
catch(Exception){
|
||||
return $default;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue