Skip to content

Commit

Permalink
Fix typo in property name
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Nov 3, 2014
1 parent 17fec53 commit 1e60395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/View/Helper/FormHelper.php
Expand Up @@ -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'],
Expand Down Expand Up @@ -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']);
Expand Down

0 comments on commit 1e60395

Please sign in to comment.