mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Merge pull request #3019 from mvhirsch/unify-namespace-exceptions
[en-en/php] unifies namespace variants in exception handling
This commit is contained in:
commit
371620a6e3
@ -841,7 +841,7 @@ try {
|
||||
|
||||
try {
|
||||
// Do something
|
||||
} catch (\Exception $e) {
|
||||
} catch (Exception $e) {
|
||||
// Handle exception
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user