Skip to content

Commit

Permalink
Merge pull request #440 from machitgarha/patch-1
Browse files Browse the repository at this point in the history
Fix spacing of PHP's "for …" snippet
  • Loading branch information
confused-Techie authored Mar 27, 2023
2 parents 03eace7 + 3da357d commit 75083fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/language-php/snippets/language-php.cson
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
'body': 'elseif (${1:condition}) {\n\t${0:// code...}\n}'
'for …':
'prefix': 'for'
'body': 'for ($${1:i}=${2:0}; $${1:i} < $3; $${1:i}++) {\n\t${0:// code...}\n}'
'body': 'for ($${1:i} = ${2:0}; $${1:i} < $3; $${1:i}++) {\n\t${0:// code...}\n}'
'foreach …':
'prefix': 'foreach'
'body': 'foreach ($${1:variable} as $${2:key} ${3:=> $${4:value}}) {\n\t${0:// code...}\n}'
Expand Down

0 comments on commit 75083fa

Please sign in to comment.