浏览代码

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