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 +```