diff --git a/extensions/php/snippets/php.snippets.json b/extensions/php/snippets/php.snippets.json index 1010dad8993..f964dc42a01 100644 --- a/extensions/php/snippets/php.snippets.json +++ b/extensions/php/snippets/php.snippets.json @@ -254,10 +254,8 @@ "body": [ "try {", "\t${1://code...}", - "} catch (\\Throwable \\$$t) {", - "\t${2://throw $$t;}", - "} catch (\\Exception \\$$e) {", - "\t${2://throw $$e;}", + "} catch (${2:\\Throwable} ${3:$$t}) {", + "\t${4://throw $$th;}", "}" ], "description": "Try catch block"