ソースを参照

Fixed DocBlock

Marc Würth 11 年 前
コミット
0d93099d0a
1 ファイル変更4 行追加3 行削除
  1. 4 3
      Model/Behavior/WhoDidItBehavior.php

+ 4 - 3
Model/Behavior/WhoDidItBehavior.php

@@ -5,7 +5,7 @@
  * @copyright http://www.4webby.com
  * @author Daniel Vecchiato
  * @author Mark Scherer
- * @author Marc Wrth
+ * @author Marc Würth
  * @version 1.3
  * @license http://opensource.org/licenses/mit-license.php MIT
  */
@@ -102,8 +102,9 @@ class WhoDidItBehavior extends ModelBehavior {
 	 * ... the modified by field only if it is not in the data array
 	 * or the "force_modified" setting is set to true.
 	 *
-	 * @param Model $Model The model using this behavior.
-	 * @return bool True
+	 * @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.
 	 */
 	public function beforeSave(Model $Model, $options = array()) {
 		$config = $this->settings[$Model->alias];