josegonzalez/upload — pull request #54 by arielpts (2012-05-09 16:55:52+00:00)
Title: Fixing Strict inheritance method declaration

The following errors were fixed, when using PHP E_STRICT error_reporting

Strict (2048): Declaration of UploadBehavior::setup() should be compatible with ModelBehavior::setup(Model $model, $config = Array) [APP/Plugin/Upload/Model/Behavior/UploadBehavior.php, line 21]
Strict (2048): Declaration of UploadBehavior::beforeSave() should be compatible with ModelBehavior::beforeSave(Model $model) [APP/Plugin/Upload/Model/Behavior/UploadBehavior.php, line 21]
Strict (2048): Declaration of UploadBehavior::afterSave() should be compatible with ModelBehavior::afterSave(Model $model, $created) [APP/Plugin/Upload/Model/Behavior/UploadBehavior.php, line 21]
Strict (2048): Declaration of UploadBehavior::beforeDelete() should be compatible with ModelBehavior::beforeDelete(Model $model, $cascade = true) [APP/Plugin/Upload/Model/Behavior/UploadBehavior.php, line 21]
Strict (2048): Declaration of UploadBehavior::afterDelete() should be compatible with ModelBehavior::afterDelete(Model $model) [APP/Plugin/Upload/Model/Behavior/UploadBehavior.php, line 21]