From 6fd96d4bf965625a29090e43fcc2870e279ae20d Mon Sep 17 00:00:00 2001 From: freezy Date: Sun, 15 Nov 2015 09:25:02 +0100 Subject: [PATCH] fixed Coding Standard errors --- ActiveField.php | 4 ++-- Html.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ActiveField.php b/ActiveField.php index 96ce103..5dccf27 100644 --- a/ActiveField.php +++ b/ActiveField.php @@ -254,7 +254,7 @@ class ActiveField extends \yii\widgets\ActiveField 'labelOptions' => ['class' => 'checkbox-inline'], ]; } - } elseif (!isset($options['item'])) { + } elseif (!isset($options['item'])) { $options['item'] = function ($index, $label, $name, $checked, $value) { return '
' . Html::checkbox($name, $checked, ['label' => $label, 'value' => $value]) . '
'; }; @@ -280,7 +280,7 @@ class ActiveField extends \yii\widgets\ActiveField 'labelOptions' => ['class' => 'radio-inline'], ]; } - } elseif (!isset($options['item'])) { + } elseif (!isset($options['item'])) { $options['item'] = function ($index, $label, $name, $checked, $value) { return '
' . Html::radio($name, $checked, ['label' => $label, 'value' => $value]) . '
'; }; diff --git a/Html.php b/Html.php index 95f2e25..1941106 100644 --- a/Html.php +++ b/Html.php @@ -19,4 +19,4 @@ namespace yii\bootstrap; */ class Html extends BaseHtml { -} \ No newline at end of file +}