diff --git a/snippets/php.snippets b/snippets/php.snippets index 3e5a9be..f8a406f 100644 --- a/snippets/php.snippets +++ b/snippets/php.snippets @@ -395,7 +395,7 @@ snippet rett snippet retf return false; snippet am - array_map(function($${1:v}) { + $${1:foo} = array_map(function($${2:v}) { ${3} - return $$1; - }, $${2:foo}); + return $$2; + }, $$1);