Skip to content

Commit

Permalink
Revert "Remove argument typehint."
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark authored Nov 25, 2017
1 parent 6893ffe commit 45d0bfc
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, $primaryKey)
public function fieldValidation($schema, $fieldName, array $metaData, array $primaryKey)
{
$ignoreFields = ['lft', 'rght', 'created', 'modified', 'updated'];
if (in_array($fieldName, $ignoreFields)) {
Expand Down

0 comments on commit 45d0bfc

Please sign in to comment.