[Form] Fixed PHPDoc: Used {@inheritdoc} where applicable
This commit is contained in:
parent
2c530cc236
commit
9e7e2af087
@ -145,11 +145,7 @@ class ChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of choices
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @see Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getChoices()
|
||||
{
|
||||
@ -157,11 +153,7 @@ class ChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the values for the choices
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @see Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getValues()
|
||||
{
|
||||
@ -169,12 +161,7 @@ class ChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the choice views of the preferred choices as nested array with
|
||||
* the choice groups as top-level keys.
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @see Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getPreferredViews()
|
||||
{
|
||||
@ -182,12 +169,7 @@ class ChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the choice views of the choices that are not preferred as nested
|
||||
* array with the choice groups as top-level keys.
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @see Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getRemainingViews()
|
||||
{
|
||||
@ -195,13 +177,7 @@ class ChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the choices corresponding to the given values.
|
||||
*
|
||||
* @param array $values
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @see Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getChoicesForValues(array $values)
|
||||
{
|
||||
@ -232,13 +208,7 @@ class ChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the values corresponding to the given choices.
|
||||
*
|
||||
* @param array $choices
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @see Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getValuesForChoices(array $choices)
|
||||
{
|
||||
@ -269,13 +239,7 @@ class ChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the indices corresponding to the given choices.
|
||||
*
|
||||
* @param array $choices
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @see Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getIndicesForChoices(array $choices)
|
||||
{
|
||||
@ -299,13 +263,7 @@ class ChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the indices corresponding to the given values.
|
||||
*
|
||||
* @param array $values
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @see Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getIndicesForValues(array $values)
|
||||
{
|
||||
|
@ -32,9 +32,7 @@ abstract class LazyChoiceList implements ChoiceListInterface
|
||||
private $choiceList;
|
||||
|
||||
/**
|
||||
* Returns the list of choices
|
||||
*
|
||||
* @return array The choices with their indices as keys.
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getChoices()
|
||||
{
|
||||
@ -46,9 +44,7 @@ abstract class LazyChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the values for the choices
|
||||
*
|
||||
* @return array The values with the corresponding choice indices as keys.
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getValues()
|
||||
{
|
||||
@ -60,26 +56,7 @@ abstract class LazyChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the choice views of the preferred choices as nested array with
|
||||
* the choice groups as top-level keys.
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
* <source>
|
||||
* array(
|
||||
* 'Group 1' => array(
|
||||
* 10 => ChoiceView object,
|
||||
* 20 => ChoiceView object,
|
||||
* ),
|
||||
* 'Group 2' => array(
|
||||
* 30 => ChoiceView object,
|
||||
* ),
|
||||
* )
|
||||
* </source>
|
||||
*
|
||||
* @return array A nested array containing the views with the corresponding
|
||||
* choice indices as keys on the lowest levels and the choice
|
||||
* group names in the keys of the higher levels.
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getPreferredViews()
|
||||
{
|
||||
@ -91,28 +68,7 @@ abstract class LazyChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the choice views of the choices that are not preferred as nested
|
||||
* array with the choice groups as top-level keys.
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
* <source>
|
||||
* array(
|
||||
* 'Group 1' => array(
|
||||
* 10 => ChoiceView object,
|
||||
* 20 => ChoiceView object,
|
||||
* ),
|
||||
* 'Group 2' => array(
|
||||
* 30 => ChoiceView object,
|
||||
* ),
|
||||
* )
|
||||
* </source>
|
||||
*
|
||||
* @return array A nested array containing the views with the corresponding
|
||||
* choice indices as keys on the lowest levels and the choice
|
||||
* group names in the keys of the higher levels.
|
||||
*
|
||||
* @see getPreferredValues
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getRemainingViews()
|
||||
{
|
||||
@ -124,12 +80,7 @@ abstract class LazyChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the choices corresponding to the given values.
|
||||
*
|
||||
* @param array $values An array of choice values. Not existing values in
|
||||
* this array are ignored.
|
||||
*
|
||||
* @return array An array of choices with ascending, 0-based numeric keys
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getChoicesForValues(array $values)
|
||||
{
|
||||
@ -141,13 +92,7 @@ abstract class LazyChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the values corresponding to the given choices.
|
||||
*
|
||||
* @param array $choices An array of choices. Not existing choices in this
|
||||
* array are ignored.
|
||||
*
|
||||
* @return array An array of choice values with ascending, 0-based numeric
|
||||
* keys
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getValuesForChoices(array $choices)
|
||||
{
|
||||
@ -159,12 +104,7 @@ abstract class LazyChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the indices corresponding to the given choices.
|
||||
*
|
||||
* @param array $choices An array of choices. Not existing choices in this
|
||||
* array are ignored.
|
||||
*
|
||||
* @return array An array of indices with ascending, 0-based numeric keys
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getIndicesForChoices(array $choices)
|
||||
{
|
||||
@ -176,12 +116,7 @@ abstract class LazyChoiceList implements ChoiceListInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the indices corresponding to the given values.
|
||||
*
|
||||
* @param array $values An array of choice values. Not existing values in
|
||||
* this array are ignored.
|
||||
*
|
||||
* @return array An array of indices with ascending, 0-based numeric keys
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getIndicesForValues(array $values)
|
||||
{
|
||||
|
Reference in New Issue
Block a user