This commit is contained in:
Fabien Potencier 2016-06-29 07:40:45 +02:00
parent b1a4d56965
commit 8db8f90edc
8 changed files with 21 additions and 21 deletions

View File

@ -35,7 +35,7 @@ class ORMQueryBuilderLoader implements EntityLoaderInterface
/**
* Construct an ORM Query Builder Loader.
*
* @param QueryBuilder $queryBuilder The query builder for creating the query builder.
* @param QueryBuilder $queryBuilder The query builder for creating the query builder
*/
public function __construct(QueryBuilder $queryBuilder)
{

View File

@ -44,7 +44,7 @@ class FileResource implements SelfCheckingResourceInterface, \Serializable
}
/**
* @return string|false The canonicalized, absolute path to the resource or false if the resource does not exist.
* @return string|false The canonicalized, absolute path to the resource or false if the resource does not exist
*/
public function getResource()
{

View File

@ -114,7 +114,7 @@ class ProjectServiceContainer extends Container
* This service is shared.
* This method always returns the same instance of the service.
*
* @return \stdClass A stdClass instance.
* @return \stdClass A stdClass instance
*/
protected function getConfiguredServiceSimpleService()
{
@ -200,7 +200,7 @@ class ProjectServiceContainer extends Container
* This service is shared.
* This method always returns the same instance of the service.
*
* @return \Bar A Bar instance.
* @return \Bar A Bar instance
*/
protected function getFactoryServiceSimpleService()
{
@ -378,7 +378,7 @@ class ProjectServiceContainer extends Container
* If you want to be able to request this service from the container directly,
* make it public, otherwise you might end up with broken code.
*
* @return \ConfClass A ConfClass instance.
* @return \ConfClass A ConfClass instance
*/
protected function getConfiguratorServiceSimpleService()
{
@ -395,7 +395,7 @@ class ProjectServiceContainer extends Container
* If you want to be able to request this service from the container directly,
* make it public, otherwise you might end up with broken code.
*
* @return \SimpleFactoryClass A SimpleFactoryClass instance.
* @return \SimpleFactoryClass A SimpleFactoryClass instance
*/
protected function getFactorySimpleService()
{

View File

@ -122,7 +122,7 @@ class ProjectServiceContainer extends Container
* This service is shared.
* This method always returns the same instance of the service.
*
* @return \stdClass A stdClass instance.
* @return \stdClass A stdClass instance
*/
protected function getConfiguredServiceSimpleService()
{
@ -195,7 +195,7 @@ class ProjectServiceContainer extends Container
* This service is shared.
* This method always returns the same instance of the service.
*
* @return \Bar A Bar instance.
* @return \Bar A Bar instance
*/
protected function getFactoryServiceSimpleService()
{

View File

@ -189,7 +189,7 @@ class IntlDateFormatter
/**
* Format the date/time value (timestamp) as a string.
*
* @param int|\DateTime $timestamp The timestamp to format.
* @param int|\DateTime $timestamp The timestamp to format
*
* @return string|bool The formatted value or false if formatting failed
*

View File

@ -237,7 +237,7 @@ interface ExecutionContextInterface
/**
* Returns the violations generated by the validator so far.
*
* @return ConstraintViolationListInterface The constraint violation list.
* @return ConstraintViolationListInterface The constraint violation list
*/
public function getViolations();
@ -250,7 +250,7 @@ interface ExecutionContextInterface
*
* The current value is returned by {@link getValue}.
*
* @return mixed The root value of the validation.
* @return mixed The root value of the validation
*/
public function getRoot();
@ -260,7 +260,7 @@ interface ExecutionContextInterface
* If you want to retrieve the object that was originally passed to the
* validator, use {@link getRoot}.
*
* @return mixed The currently validated value.
* @return mixed The currently validated value
*/
public function getValue();
@ -285,7 +285,7 @@ interface ExecutionContextInterface
/**
* Returns the validation group that is currently being validated.
*
* @return string The current validation group.
* @return string The current validation group
*/
public function getGroup();
@ -296,7 +296,7 @@ interface ExecutionContextInterface
* {@link Mapping\ClassMetadataInterface} or if no metadata is available for the
* current node, this method returns null.
*
* @return string|null The class name or null, if no class name could be found.
* @return string|null The class name or null, if no class name could be found
*/
public function getClassName();
@ -307,7 +307,7 @@ interface ExecutionContextInterface
* {@link PropertyMetadataInterface} or if no metadata is available for the
* current node, this method returns null.
*
* @return string|null The property name or null, if no property name could be found.
* @return string|null The property name or null, if no property name could be found
*/
public function getPropertyName();

View File

@ -79,7 +79,7 @@ interface ClassMetadataInterface extends MetadataInterface
/**
* Check if there's any metadata attached to the given named property.
*
* @param string $property The property name.
* @param string $property The property name
*
* @return bool
*/
@ -91,7 +91,7 @@ interface ClassMetadataInterface extends MetadataInterface
* If your implementation does not support properties, simply throw an
* exception in this method (for example a <tt>BadMethodCallException</tt>).
*
* @param string $property The property name.
* @param string $property The property name
*
* @return PropertyMetadataInterface[] A list of metadata instances. Empty if
* no metadata exists for the property.
@ -101,7 +101,7 @@ interface ClassMetadataInterface extends MetadataInterface
/**
* Returns the name of the backing PHP class.
*
* @return string The name of the backing class.
* @return string The name of the backing class
*/
public function getClassName();
}

View File

@ -34,16 +34,16 @@ interface PropertyMetadataInterface extends MetadataInterface
/**
* Returns the name of the property.
*
* @return string The property name.
* @return string The property name
*/
public function getPropertyName();
/**
* Extracts the value of the property from the given container.
*
* @param mixed $containingValue The container to extract the property value from.
* @param mixed $containingValue The container to extract the property value from
*
* @return mixed The value of the property.
* @return mixed The value of the property
*/
public function getPropertyValue($containingValue);
}