Permalink
Browse files

fixed phpdoc @param alignment

  • Loading branch information...
1 parent 156ea42 commit 0d16e81d4848b2cbfb081a2ba557af693c02baa0 @fabpot fabpot committed May 15, 2012
Showing with 19 additions and 19 deletions.
  1. +2 −2 GraphWalker.php
  2. +2 −2 Mapping/Loader/FileLoader.php
  3. +6 −6 ValidatorFactory.php
  4. +9 −9 ValidatorInterface.php
View
@@ -54,8 +54,8 @@ public function getViolations()
* instance and validation group.
*
* @param ClassMetadata $metadata
- * @param object $object The object to validate
- * @param string $group The validator group to use for validation
+ * @param object $object The object to validate
+ * @param string $group The validator group to use for validation
* @param string $propertyPath
*/
public function walkObject(ClassMetadata $metadata, $object, $group, $propertyPath)
@@ -47,10 +47,10 @@ public function __construct($file)
/**
* Creates a new constraint instance for the given constraint name.
*
- * @param string $name The constraint name. Either a constraint relative
+ * @param string $name The constraint name. Either a constraint relative
* to the default constraint namespace, or a fully
* qualified class name
- * @param array $options The constraint options
+ * @param array $options The constraint options
*
* @return Constraint
*/
View
@@ -85,12 +85,12 @@ class ValidatorFactory implements ValidatorContextInterface
/**
* Builds a validator factory with the default mapping loaders
*
- * @param array $mappingFiles A list of XML or YAML file names
+ * @param array $mappingFiles A list of XML or YAML file names
* where mapping information can be
* found. Can be empty.
- * @param Boolean $annotations Whether to use annotations for
+ * @param Boolean $annotations Whether to use annotations for
* retrieving mapping information
- * @param string $staticMethod The name of the static method to
+ * @param string $staticMethod The name of the static method to
* use, if static method loading should
* be enabled
*
@@ -150,7 +150,7 @@ static public function buildDefault(array $mappingFiles = array(), $annotations
/**
* Sets the given context as default context
*
- * @param ValidatorContextInterface $defaultContext A preconfigured context
+ * @param ValidatorContextInterface $defaultContext A preconfigured context
*/
public function __construct(ValidatorContextInterface $defaultContext = null)
{
@@ -161,7 +161,7 @@ public function __construct(ValidatorContextInterface $defaultContext = null)
* Overrides the class metadata factory of the default context and returns
* the new context
*
- * @param ClassMetadataFactoryInterface $metadataFactory The new factory instance
+ * @param ClassMetadataFactoryInterface $metadataFactory The new factory instance
*
* @return ValidatorContextInterface The preconfigured form context
*/
@@ -176,7 +176,7 @@ public function setClassMetadataFactory(ClassMetadataFactoryInterface $metadataF
* Overrides the constraint validator factory of the default context and
* returns the new context
*
- * @param ClassMetadataFactoryInterface $validatorFactory The new factory instance
+ * @param ClassMetadataFactoryInterface $validatorFactory The new factory instance
*
* @return ValidatorContextInterface The preconfigured form context
*/
@@ -25,7 +25,7 @@
/**
* Validate the given object.
*
- * @param object $object The object to validate
+ * @param object $object The object to validate
* @param array|null $groups The validator groups to use for validating
*
* @return ConstraintViolationList
@@ -37,9 +37,9 @@ function validate($object, $groups = null);
/**
* Validate a single property of an object against its current value.
*
- * @param object $object The object to validate
- * @param string $property The name of the property to validate
- * @param array|null $groups The validator groups to use for validating
+ * @param object $object The object to validate
+ * @param string $property The name of the property to validate
+ * @param array|null $groups The validator groups to use for validating
*
* @return ConstraintViolationList
*
@@ -50,10 +50,10 @@ function validateProperty($object, $property, $groups = null);
/**
* Validate a single property of an object against the given value.
*
- * @param string $class The class on which the property belongs
- * @param string $property The name of the property to validate
+ * @param string $class The class on which the property belongs
+ * @param string $property The name of the property to validate
* @param string $value
- * @param array|null $groups The validator groups to use for validating
+ * @param array|null $groups The validator groups to use for validating
*
* @return ConstraintViolationList
*
@@ -64,9 +64,9 @@ function validatePropertyValue($class, $property, $value, $groups = null);
/**
* Validates a given value against a specific Constraint.
*
- * @param mixed $value The value to validate
+ * @param mixed $value The value to validate
* @param Constraint $constraint The constraint to validate against
- * @param array|null $groups The validator groups to use for validating
+ * @param array|null $groups The validator groups to use for validating
*
* @return ConstraintViolationList
*

0 comments on commit 0d16e81

Please sign in to comment.