Browse Source

Fix typo in property name

ADmad 11 years ago
parent
commit
1e60395404
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/View/Helper/FormHelper.php

+ 2 - 2
src/View/Helper/FormHelper.php

@@ -112,7 +112,7 @@ class FormHelper extends Helper {
  *
  * @var array
  */
-	protected $_defaultWigets = [
+	protected $_defaultWidgets = [
 		'button' => ['Cake\View\Widget\ButtonWidget'],
 		'checkbox' => ['Cake\View\Widget\CheckboxWidget'],
 		'file' => ['Cake\View\Widget\FileWidget'],
@@ -196,7 +196,7 @@ class FormHelper extends Helper {
  */
 	public function __construct(View $View, array $config = []) {
 		$registry = null;
-		$widgets = $this->_defaultWigets;
+		$widgets = $this->_defaultWidgets;
 		if (isset($config['registry'])) {
 			$registry = $config['registry'];
 			unset($config['registry']);