Skip to content

Commit

Permalink
Merge pull request #382 from cakephp/ADmad-patch-1
Browse files Browse the repository at this point in the history
Remove argument typehint.
  • Loading branch information
markstory authored Nov 25, 2017
2 parents 09de285 + c4f5ec2 commit 6893ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shell/Task/ModelTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public function getValidation($model, $associations = [])
* @param array $primaryKey The primary key field
* @return array Array of validation for the field.
*/
public function fieldValidation($schema, $fieldName, array $metaData, array $primaryKey)
public function fieldValidation($schema, $fieldName, array $metaData, $primaryKey)
{
$ignoreFields = ['lft', 'rght', 'created', 'modified', 'updated'];
if (in_array($fieldName, $ignoreFields)) {
Expand Down

0 comments on commit 6893ffe

Please sign in to comment.