Skip to content

Commit 5778b5e

Browse files
Merge branch '2.7' into 2.8
* 2.7: [DI] minor docblock fixes
2 parents 115047b + b4a3d50 commit 5778b5e

13 files changed

+4
-94
lines changed

ConstraintValidatorFactoryInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ interface ConstraintValidatorFactoryInterface
2121
* Given a Constraint, this returns the ConstraintValidatorInterface
2222
* object that should be used to verify its validity.
2323
*
24-
* @param Constraint $constraint The source constraint
25-
*
2624
* @return ConstraintValidatorInterface
2725
*/
2826
public function getInstance(Constraint $constraint);

ConstraintViolation.php

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -18,54 +18,15 @@
1818
*/
1919
class ConstraintViolation implements ConstraintViolationInterface
2020
{
21-
/**
22-
* @var string
23-
*/
2421
private $message;
25-
26-
/**
27-
* @var string
28-
*/
2922
private $messageTemplate;
30-
31-
/**
32-
* @var array
33-
*/
3423
private $parameters;
35-
36-
/**
37-
* @var int|null
38-
*/
3924
private $plural;
40-
41-
/**
42-
* @var mixed
43-
*/
4425
private $root;
45-
46-
/**
47-
* @var string
48-
*/
4926
private $propertyPath;
50-
51-
/**
52-
* @var mixed
53-
*/
5427
private $invalidValue;
55-
56-
/**
57-
* @var Constraint|null
58-
*/
5928
private $constraint;
60-
61-
/**
62-
* @var mixed
63-
*/
6429
private $code;
65-
66-
/**
67-
* @var mixed
68-
*/
6930
private $cause;
7031

7132
/**

ConstraintViolationListInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@ interface ConstraintViolationListInterface extends \Traversable, \Countable, \Ar
2020
{
2121
/**
2222
* Adds a constraint violation to this list.
23-
*
24-
* @param ConstraintViolationInterface $violation The violation to add
2523
*/
2624
public function add(ConstraintViolationInterface $violation);
2725

2826
/**
2927
* Merges an existing violation list into this list.
30-
*
31-
* @param ConstraintViolationListInterface $otherList The list to merge
3228
*/
3329
public function addAll(ConstraintViolationListInterface $otherList);
3430

Constraints/IbanValidator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ class IbanValidator extends ConstraintValidator
3535
* included within it, a bank identifier with a fixed position and a fixed length per country
3636
*
3737
* @see https://www.swift.com/sites/default/files/resources/iban_registry.pdf
38-
*
39-
* @var array
4038
*/
4139
private static $formats = array(
4240
'AD' => 'AD\d{2}\d{4}\d{4}[\dA-Z]{12}', // Andorra

Mapping/Cache/CacheInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ public function read($class);
3838

3939
/**
4040
* Stores a class metadata in the cache.
41-
*
42-
* @param ClassMetadata $metadata A Class Metadata
4341
*/
4442
public function write(ClassMetadata $metadata);
4543
}

Mapping/Cache/DoctrineCache.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,11 @@ final class DoctrineCache implements CacheInterface
2323
{
2424
private $cache;
2525

26-
/**
27-
* Creates a new Doctrine cache.
28-
*
29-
* @param Cache $cache The cache to adapt
30-
*/
3126
public function __construct(Cache $cache)
3227
{
3328
$this->cache = $cache;
3429
}
3530

36-
/**
37-
* Sets the cache to adapt.
38-
*
39-
* @param Cache $cache The cache to adapt
40-
*/
4131
public function setCache(Cache $cache)
4232
{
4333
$this->cache = $cache;

Mapping/ClassMetadata.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,6 @@ public function addGetterMethodConstraints($property, $method, array $constraint
376376

377377
/**
378378
* Merges the constraints of the given metadata into this object.
379-
*
380-
* @param ClassMetadata $source The source metadata
381379
*/
382380
public function mergeConstraints(ClassMetadata $source)
383381
{
@@ -590,11 +588,6 @@ public function getCascadingStrategy()
590588
return CascadingStrategy::NONE;
591589
}
592590

593-
/**
594-
* Adds a property metadata.
595-
*
596-
* @param PropertyMetadataInterface $metadata
597-
*/
598591
private function addPropertyMetadata(PropertyMetadataInterface $metadata)
599592
{
600593
$property = $metadata->getPropertyName();

Mapping/GenericMetadata.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ public function __clone()
119119
* if $traverse is enabled, but $deep is disabled
120120
* - {@link TraversalStrategy::NONE} if $traverse is disabled
121121
*
122-
* @param Constraint $constraint The constraint to add
123-
*
124122
* @return $this
125123
*
126124
* @throws ConstraintDefinitionException When trying to add the

Mapping/Loader/AbstractLoader.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ abstract class AbstractLoader implements LoaderInterface
3232
*/
3333
const DEFAULT_NAMESPACE = '\\Symfony\\Component\\Validator\\Constraints\\';
3434

35-
/**
36-
* @var array
37-
*/
3835
protected $namespaces = array();
3936

4037
/**

Mapping/Loader/LoaderInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ interface LoaderInterface
2323
/**
2424
* Loads validation metadata into a {@link ClassMetadata} instance.
2525
*
26-
* @param ClassMetadata $metadata The metadata to load
27-
*
2826
* @return bool Whether the loader succeeded
2927
*/
3028
public function loadClassMetadata(ClassMetadata $metadata);

0 commit comments

Comments
 (0)