Skip to content

Conversation

@timstermatic
Copy link

PHP 5.4+ Strict gives the following error when creating a form linked to a Model:

"Declaration of SchemalessBehavior::beforeSave() should be compatible with ModelBehavior::beforeSave(Model $model, $options = Array) [APP/Plugin/Mongodb/Model/Behavior/SchemalessBehavior.php, line 34]"

Added the $options argument for compatibility with parent class.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) when pulling 5cdc0b0 on timstermatic:cake2.2 into f99add6 on ichikaway:cake2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants