aboutsummaryrefslogtreecommitdiffstats
path: root/Source/MGTemplateEngine.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/MGTemplateEngine.m')
-rw-r--r--Source/MGTemplateEngine.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/MGTemplateEngine.m b/Source/MGTemplateEngine.m
index 941a7e1b..4a5d3192 100644
--- a/Source/MGTemplateEngine.m
+++ b/Source/MGTemplateEngine.m
@@ -542,7 +542,7 @@
[frame setObject:endMarkers forKey:BLOCK_END_NAMES_KEY];
NSArray *arguments = [matchInfo objectForKey:MARKER_ARGUMENTS_KEY];
if (!arguments) {
- arguments = [NSArray array];
+ arguments = @[];
}
[frame setObject:arguments forKey:BLOCK_ARGUMENTS_KEY];
[frame setObject:[matchInfo objectForKey:MARKER_RANGE_KEY] forKey:BLOCK_START_MARKER_RANGE_KEY];