Skip to content

Commit 8edde10

Browse files
Merge branch '2.8' into 3.3
* 2.8: [DI] minor docblock fixes
2 parents 72c9298 + 5778b5e commit 8edde10

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
@@ -34,8 +34,6 @@ class IbanValidator extends ConstraintValidator
3434
* included within it, a bank identifier with a fixed position and a fixed length per country
3535
*
3636
* @see https://www.swift.com/sites/default/files/resources/iban_registry.pdf
37-
*
38-
* @var array
3937
*/
4038
private static $formats = array(
4139
'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
@@ -334,8 +334,6 @@ public function addGetterMethodConstraints($property, $method, array $constraint
334334

335335
/**
336336
* Merges the constraints of the given metadata into this object.
337-
*
338-
* @param ClassMetadata $source The source metadata
339337
*/
340338
public function mergeConstraints(ClassMetadata $source)
341339
{
@@ -502,11 +500,6 @@ public function getCascadingStrategy()
502500
return CascadingStrategy::NONE;
503501
}
504502

505-
/**
506-
* Adds a property metadata.
507-
*
508-
* @param PropertyMetadataInterface $metadata
509-
*/
510503
private function addPropertyMetadata(PropertyMetadataInterface $metadata)
511504
{
512505
$property = $metadata->getPropertyName();

Mapping/GenericMetadata.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ public function __clone()
114114
* - {@link TraversalStrategy::IMPLICIT} if $traverse is enabled
115115
* - {@link TraversalStrategy::NONE} if $traverse is disabled
116116
*
117-
* @param Constraint $constraint The constraint to add
118-
*
119117
* @return $this
120118
*
121119
* @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)