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