Skip to content

Commit

Permalink
fix typos in FormHelper: multicheckbox -> multiCheckbox, datetime -> …
Browse files Browse the repository at this point in the history
…dateTime
  • Loading branch information
frankfoerster committed Jun 6, 2016
1 parent ea98ede commit 04b6fa5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/View/Helper/FormHelper.php
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}

/**
Expand Down Expand Up @@ -2055,7 +2055,7 @@ public function year($fieldName, array $options = [])
];
}

return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}

/**
Expand Down Expand Up @@ -2085,7 +2085,7 @@ public function month($fieldName, array $options = [])
'day' => date('d')
];
}
return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}

/**
Expand Down Expand Up @@ -2117,7 +2117,7 @@ public function hour($fieldName, array $options = [])
'minute' => date('i'),
];
}
return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}

/**
Expand Down Expand Up @@ -2147,7 +2147,7 @@ public function minute($fieldName, array $options = [])
'minute' => (int)$options['val'],
];
}
return $this->datetime($fieldName, $options);
return $this->dateTime($fieldName, $options);
}

/**
Expand Down Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 04b6fa5

Please sign in to comment.