From 90294ec90c85dacb4a7201c2e2503936352ac70e Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Fri, 18 Apr 2014 22:54:24 +0200 Subject: [PATCH] Fix doc blocks --- .../Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php | 5 ++++- src/Symfony/Component/Console/Helper/TableStyle.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php b/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php index 7abe79a5df..7e6f10fe05 100644 --- a/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php +++ b/src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php @@ -79,8 +79,11 @@ class ModelChoiceList extends ObjectChoiceList * @param array|ModelCriteria $preferred The preferred items of this choice. * Either an array if $choices is given, * or a ModelCriteria to be merged with the $queryObject. - * @param string $useAsIdentifier a custome unique column (eg slug) to use instead of primary key * @param PropertyAccessorInterface $propertyAccessor The reflection graph for reading property paths. + * @param string $useAsIdentifier a custom unique column (eg slug) to use instead of primary key. + * + * @throws MissingOptionsException In case the class parameter is empty. + * @throws InvalidOptionsException In case the query class is not found. */ public function __construct($class, $labelPath = null, $choices = null, $queryObject = null, $groupPath = null, $preferred = array(), PropertyAccessorInterface $propertyAccessor = null, $useAsIdentifier = null) { diff --git a/src/Symfony/Component/Console/Helper/TableStyle.php b/src/Symfony/Component/Console/Helper/TableStyle.php index 2379d9b1af..338f1a060a 100644 --- a/src/Symfony/Component/Console/Helper/TableStyle.php +++ b/src/Symfony/Component/Console/Helper/TableStyle.php @@ -242,7 +242,7 @@ class TableStyle /** * Gets cell padding type. * - * @param int + * @return int */ public function getPadType() {