mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-17 21:49:22 +01:00
unifies namespace variants in exception handling
This commit is contained in:
parent
990f51293b
commit
973883c57c
@ -841,7 +841,7 @@ try {
|
||||
|
||||
try {
|
||||
// Do something
|
||||
} catch (\Exception $e) {
|
||||
} catch (Exception $e) {
|
||||
// Handle exception
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user