summaryrefslogtreecommitdiffhomepage
path: root/php.html.markdown
diff options
context:
space:
mode:
authorMichael Hirschler <michael.vhirsch@gmail.com>2017-12-03 11:23:03 +0100
committerMichael Hirschler <michael.vhirsch@gmail.com>2017-12-03 11:23:03 +0100
commit973883c57cef5caa01e60856fbd0884fff26809c (patch)
tree18dd3907a5cf114fd01909c51d945cc3786f0283 /php.html.markdown
parent990f51293b1e85bc1146b291784474c82fabba37 (diff)
unifies namespace variants in exception handling
Diffstat (limited to 'php.html.markdown')
-rw-r--r--php.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/php.html.markdown b/php.html.markdown
index f82cea7d..d4fbaa32 100644
--- a/php.html.markdown
+++ b/php.html.markdown
@@ -841,7 +841,7 @@ try {
try {
// Do something
-} catch (\Exception $e) {
+} catch (Exception $e) {
// Handle exception
}