ソースを参照

Suppress PHPMD irrelevant violation

Marc Würth 10 年 前
コミット
34ec34b9c0
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 Model $Model The Model using this behavior
 	 * @param array $options Options passed from Model::save(), unused.
 	 * @param array $options Options passed from Model::save(), unused.
 	 * @return mixed False if the operation should abort. Any other result will continue.
 	 * @return mixed False if the operation should abort. Any other result will continue.
+	 * @SuppressWarnings(PHPMD.UnusedFormalParameter)
 	 */
 	 */
 	public function beforeSave(Model $Model, $options = []) {
 	public function beforeSave(Model $Model, $options = []) {
 		$config = $this->settings[$Model->alias];
 		$config = $this->settings[$Model->alias];