summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPratik Karki <predatoramigo@gmail.com>2018-02-28 15:16:46 +0545
committerGitHub <noreply@github.com>2018-02-28 15:16:46 +0545
commit371620a6e3c0cd8f609ee79a72992f953eb6e7e5 (patch)
tree03accbcfda6ae0313b47a87241da11e2fb66e13c
parentbcd41be2233b722a14146a5f82d8365ab616a7e6 (diff)
parent973883c57cef5caa01e60856fbd0884fff26809c (diff)
Merge pull request #3019 from mvhirsch/unify-namespace-exceptions
[en-en/php] unifies namespace variants in exception handling
-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
}