From efb50b68c101471142d509b4a803f5adacccab9f Mon Sep 17 00:00:00 2001 From: AD7six Date: Fri, 8 Nov 2013 00:05:35 +0000 Subject: [PATCH] add missing @throws --- Cake/Model/Behavior/TimestampBehavior.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Cake/Model/Behavior/TimestampBehavior.php b/Cake/Model/Behavior/TimestampBehavior.php index 65debafee40..bf382d49e21 100644 --- a/Cake/Model/Behavior/TimestampBehavior.php +++ b/Cake/Model/Behavior/TimestampBehavior.php @@ -62,6 +62,7 @@ class TimestampBehavior extends Behavior { * * @param Event $event * @param Entity $entity + * @throws \UnexpectedValueException if a field's when value is misdefined * @return true (irrespective of the behavior logic, the save will not be prevented) * @throws \UnexpectedValueException When the value for an event is not 'new', 'existing' or true. */