Skip to content

Commit

Permalink
Merge pull request #9124 from antograssiot/master
Browse files Browse the repository at this point in the history
fix small typos in api
  • Loading branch information
dereuromark authored Jul 16, 2016
2 parents 0f0e3dd + 4da6ec1 commit c4fd8f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Database/Type/OptionalConvertInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ interface OptionalConvertInterface
{

/**
* Returns whehter the cast to PHP is required to be invoked, since
* it is not a indentity function.
* Returns whether the cast to PHP is required to be invoked, since
* it is not a identity function.
*
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ORM/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,7 @@ protected function _update($entity, $data)
*
* @param array|\Cake\ORM\ResultSet $entities Entities to save.
* @param array|\ArrayAccess $options Options used when calling Table::save() for each entity.
* @return bool|array|\Cake\ORM\ResultSet False on failure, entities list on succcess.
* @return bool|array|\Cake\ORM\ResultSet False on failure, entities list on success.
*/
public function saveMany($entities, $options = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/Validation/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ public function hasAtLeast($field, $count, $message = null, $when = null)
* the specified amount of elements
*
* @param string $field The field you want to apply the rule to.
* @param int $count The number maximim amount of elements the field should have
* @param int $count The number maximum amount of elements the field should have
* @param string|null $message The error message when the rule fails.
* @param string|callable|null $when Either 'create' or 'update' or a callable that returns
* true when the validation rule should be applied.
Expand Down

0 comments on commit c4fd8f7

Please sign in to comment.