cakephp-mongodb
cakephp-mongodb copied to clipboard
Makes SchemalessBehavior::beforeSave() compatible with ModelBehavior::be...
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.