From 2c858bb724c3cec61094f26f3ccf5bf28a8da8bb Mon Sep 17 00:00:00 2001 From: Michael Thessel Date: Fri, 12 Apr 2013 02:50:15 +0000 Subject: [PATCH] Added return array placeholder --- snippets/php.snippets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);