Skip to content

Commit 52cb080

Browse files
Merge branch '2.7' into 2.8
* 2.7: [DI] minor docblock fixes
2 parents 99ab3cc + 787f823 commit 52cb080

12 files changed

+0
-50
lines changed

Annotation/Groups.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class Groups
2929
private $groups;
3030

3131
/**
32-
* @param array $data
33-
*
3432
* @throws InvalidArgumentException
3533
*/
3634
public function __construct(array $data)

Encoder/JsonDecode.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ public function supportsDecoding($format)
125125
/**
126126
* Merges the default options of the Json Decoder with the passed context.
127127
*
128-
* @param array $context
129-
*
130128
* @return array
131129
*/
132130
private function resolveContext(array $context)

Encoder/JsonEncode.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ public function supportsEncoding($format)
7373
/**
7474
* Merge default json encode options with context.
7575
*
76-
* @param array $context
77-
*
7876
* @return array
7977
*/
8078
private function resolveContext(array $context = array())

Encoder/XmlEncoder.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,6 @@ private function selectNodeType(\DOMNode $node, $val)
511511
/**
512512
* Get real XML root node name, taking serializer options into account.
513513
*
514-
* @param array $context
515-
*
516514
* @return string
517515
*/
518516
private function resolveXmlRootName(array $context = array())

Mapping/AttributeMetadata.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,13 @@
1919
class AttributeMetadata implements AttributeMetadataInterface
2020
{
2121
/**
22-
* @var string
23-
*
2422
* @internal This property is public in order to reduce the size of the
2523
* class' serialized representation. Do not access it. Use
2624
* {@link getName()} instead.
2725
*/
2826
public $name;
2927

3028
/**
31-
* @var array
32-
*
3329
* @internal This property is public in order to reduce the size of the
3430
* class' serialized representation. Do not access it. Use
3531
* {@link getGroups()} instead.

Mapping/AttributeMetadataInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ public function getGroups();
4545

4646
/**
4747
* Merges an {@see AttributeMetadataInterface} with in the current one.
48-
*
49-
* @param AttributeMetadataInterface $attributeMetadata
5048
*/
5149
public function merge(AttributeMetadataInterface $attributeMetadata);
5250
}

Mapping/ClassMetadataInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ public function getName();
3333

3434
/**
3535
* Adds an {@link AttributeMetadataInterface}.
36-
*
37-
* @param AttributeMetadataInterface $attributeMetadata
3836
*/
3937
public function addAttributeMetadata(AttributeMetadataInterface $attributeMetadata);
4038

@@ -47,8 +45,6 @@ public function getAttributesMetadata();
4745

4846
/**
4947
* Merges a {@link ClassMetadataInterface} in the current one.
50-
*
51-
* @param ClassMetadataInterface $classMetadata
5248
*/
5349
public function merge(ClassMetadataInterface $classMetadata);
5450

Mapping/Factory/ClassMetadataFactory.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,10 @@
2323
*/
2424
class ClassMetadataFactory implements ClassMetadataFactoryInterface
2525
{
26-
/**
27-
* @var LoaderInterface
28-
*/
2926
private $loader;
30-
31-
/**
32-
* @var Cache
33-
*/
3427
private $cache;
35-
36-
/**
37-
* @var array
38-
*/
3928
private $loadedClasses;
4029

41-
/**
42-
* @param LoaderInterface $loader
43-
* @param Cache|null $cache
44-
*/
4530
public function __construct(LoaderInterface $loader, Cache $cache = null)
4631
{
4732
$this->loader = $loader;

Mapping/Loader/AnnotationLoader.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,8 @@
2424
*/
2525
class AnnotationLoader implements LoaderInterface
2626
{
27-
/**
28-
* @var Reader
29-
*/
3027
private $reader;
3128

32-
/**
33-
* @param Reader $reader
34-
*/
3529
public function __construct(Reader $reader)
3630
{
3731
$this->reader = $reader;

Mapping/Loader/LoaderInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
interface LoaderInterface
2222
{
2323
/**
24-
* Load class metadata.
25-
*
26-
* @param ClassMetadataInterface $classMetadata A metadata
27-
*
2824
* @return bool
2925
*/
3026
public function loadClassMetadata(ClassMetadataInterface $classMetadata);

Normalizer/AbstractNormalizer.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ abstract class AbstractNormalizer extends SerializerAwareNormalizer implements N
6868

6969
/**
7070
* Sets the {@link ClassMetadataFactoryInterface} to use.
71-
*
72-
* @param ClassMetadataFactoryInterface|null $classMetadataFactory
73-
* @param NameConverterInterface|null $nameConverter
7471
*/
7572
public function __construct(ClassMetadataFactoryInterface $classMetadataFactory = null, NameConverterInterface $nameConverter = null)
7673
{
@@ -139,8 +136,6 @@ public function setCallbacks(array $callbacks)
139136
/**
140137
* Set ignored attributes for normalization and denormalization.
141138
*
142-
* @param array $ignoredAttributes
143-
*
144139
* @return self
145140
*/
146141
public function setIgnoredAttributes(array $ignoredAttributes)

SerializerAwareInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ interface SerializerAwareInterface
2020
{
2121
/**
2222
* Sets the owning Serializer object.
23-
*
24-
* @param SerializerInterface $serializer
2523
*/
2624
public function setSerializer(SerializerInterface $serializer);
2725
}

0 commit comments

Comments
 (0)