ソースを参照

Merge pull request #158 from ravage84/patch-2

Suppress PHPMD irrelevant violation
Mark S. 10 年 前
コミット
2f52111f20
1 ファイル変更1 行追加0 行削除
  1. 1 0
      Model/Behavior/WhoDidItBehavior.php

+ 1 - 0
Model/Behavior/WhoDidItBehavior.php

@@ -105,6 +105,7 @@ class WhoDidItBehavior extends ModelBehavior {
 	 * @param Model $Model The Model using this behavior
 	 * @param array $options Options passed from Model::save(), unused.
 	 * @return mixed False if the operation should abort. Any other result will continue.
+	 * @SuppressWarnings(PHPMD.UnusedFormalParameter)
 	 */
 	public function beforeSave(Model $Model, $options = []) {
 		$config = $this->settings[$Model->alias];