summaryrefslogtreecommitdiffhomepage
path: root/php.html.markdown
diff options
context:
space:
mode:
authorGayan <gayanhewa@gmail.com>2015-10-07 15:13:17 +0800
committerGayan <gayanhewa@gmail.com>2015-10-07 15:13:17 +0800
commita03b4003907e54da8c47c6aabe93c95f958b4f4d (patch)
treece3300e91a8abf66b1c7fe2ff5ff42fda7c7b1a9 /php.html.markdown
parent0904a24f30de1f0311aff17116c0c9e45a5f2772 (diff)
Update php.html.markdown
Diffstat (limited to 'php.html.markdown')
-rw-r--r--php.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/php.html.markdown b/php.html.markdown
index 80e689b7..2de0d3fa 100644
--- a/php.html.markdown
+++ b/php.html.markdown
@@ -697,7 +697,7 @@ $cls = new SomeOtherNamespace\MyClass();
try {
// Do something
-catch ( Exception $e) {
+} catch ( Exception $e) {
// Handle exception
}
@@ -705,7 +705,7 @@ catch ( Exception $e) {
try {
// Do something
-catch (\Exception $e) {
+} catch (\Exception $e) {
// Handle exception
}