浏览代码

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];