From f7fb855f46a35be018de01bdf57ec22ed5d4dd26 Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Mon, 31 Mar 2014 10:36:17 +0200 Subject: [PATCH] [PropertyAccess] Added missing exceptions to phpdoc --- .../Component/PropertyAccess/PropertyAccessorInterface.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/PropertyAccess/PropertyAccessorInterface.php b/src/Symfony/Component/PropertyAccess/PropertyAccessorInterface.php index 7e1cd24ae8..42e0d1e95d 100644 --- a/src/Symfony/Component/PropertyAccess/PropertyAccessorInterface.php +++ b/src/Symfony/Component/PropertyAccess/PropertyAccessorInterface.php @@ -44,7 +44,7 @@ interface PropertyAccessorInterface * @param mixed $value The value to set at the end of the property path * * @throws Exception\InvalidArgumentException If the property path is invalid - * @throws Exception\NoSuchPropertyException If a property does not exist or is not public. + * @throws Exception\AccessException If a property/index does not exist or is not public * @throws Exception\UnexpectedTypeException If a value within the path is neither object * nor array */ @@ -77,7 +77,9 @@ interface PropertyAccessorInterface * @return mixed The value at the end of the property path * * @throws Exception\InvalidArgumentException If the property path is invalid - * @throws Exception\NoSuchPropertyException If a property does not exist or is not public. + * @throws Exception\AccessException If a property/index does not exist or is not public + * @throws Exception\UnexpectedTypeException If a value within the path is neither object + * nor array */ public function getValue($objectOrArray, $propertyPath);