Skip to content

Commit 2c719b1

Browse files
Backport type fixes
1 parent 24f5f30 commit 2c719b1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Annotation/Groups.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Groups
2929
private $groups;
3030

3131
/**
32-
* @throws InvalidArgumentException
32+
* @param string[] $groups
3333
*/
3434
public function __construct(array $data)
3535
{
@@ -48,8 +48,6 @@ public function __construct(array $data)
4848
}
4949

5050
/**
51-
* Gets groups.
52-
*
5351
* @return string[]
5452
*/
5553
public function getGroups()

Normalizer/ConstraintViolationListNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ConstraintViolationListNormalizer implements NormalizerInterface, Cacheabl
3232
private $defaultContext;
3333
private $nameConverter;
3434

35-
public function __construct($defaultContext = [], NameConverterInterface $nameConverter = null)
35+
public function __construct(array $defaultContext = [], NameConverterInterface $nameConverter = null)
3636
{
3737
$this->defaultContext = $defaultContext;
3838
$this->nameConverter = $nameConverter;

0 commit comments

Comments
 (0)