From eb8a11a167ba93ac60c0e932a29affe3e008ae64 Mon Sep 17 00:00:00 2001 From: marsuboss Date: Tue, 14 Jan 2014 08:15:36 +0100 Subject: [PATCH] Array short --- docs/internals/view-code-style.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/internals/view-code-style.md b/docs/internals/view-code-style.md index dc7437f454..351516c44e 100644 --- a/docs/internals/view-code-style.md +++ b/docs/internals/view-code-style.md @@ -33,21 +33,21 @@ $this->title = 'Posts'; - array('id' => 'contact-message-form'), - 'fieldConfig' => array('inputOptions' => array('class' => 'common-input')), -)); ?> + ['id' => 'contact-message-form'], + 'fieldConfig' => ['inputOptions' => ['class' => 'common-input']], +]); ?> field($contactMessage, 'name')->textInput() ?> field($contactMessage, 'email')->textInput() ?> field($contactMessage, 'subject')->textInput() ?> - field($contactMessage, 'body')->textArea(array('rows' => 6)) ?> + field($contactMessage, 'body')->textArea(['rows' => 6]) ?>
- 'common-button')) ?> + 'common-button']) ?>
-``` \ No newline at end of file +```