Skip to content
Permalink
Browse files

fix typos in FormHelper: multicheckbox -> multiCheckbox, datetime -> …

…dateTime
  • Loading branch information...
frankfoerster committed Jun 6, 2016
1 parent ea98ede commit 04b6fa5f131b2bb5cffe87ba14824cd9159279fb
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/View/Helper/FormHelper.php
@@ -1131,7 +1131,7 @@ protected function _getInput($fieldName, $options)
case 'multicheckbox':
$opts = $options['options'];
unset($options['options']);
return $this->multicheckbox($fieldName, $opts, $options);
return $this->multiCheckbox($fieldName, $opts, $options);
default:
return $this->{$options['type']}($fieldName, $options);
}
@@ -2021,7 +2021,7 @@ public function day($fieldName = null, array $options = [])
'day' => (int)$options['val']
];
}
return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}
/**
@@ -2055,7 +2055,7 @@ public function year($fieldName, array $options = [])
];
}
return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}
/**
@@ -2085,7 +2085,7 @@ public function month($fieldName, array $options = [])
'day' => date('d')
];
}
return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}
/**
@@ -2117,7 +2117,7 @@ public function hour($fieldName, array $options = [])
'minute' => date('i'),
];
}
return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}
/**
@@ -2147,7 +2147,7 @@ public function minute($fieldName, array $options = [])
'minute' => (int)$options['val'],
];
}
return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}
/**
@@ -2176,7 +2176,7 @@ public function meridian($fieldName, array $options = [])
'meridian' => $hour > 11 ? 'pm' : 'am',
];
}
return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}
/**

0 comments on commit 04b6fa5

Please sign in to comment.
You can’t perform that action at this time.