Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 371daec

Browse files
committed
Fixing HypeMC's review
1 parent 0cef288 commit 371daec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Exception/MissingConstructorArgumentsException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ class MissingConstructorArgumentsException extends RuntimeException
2727
private $missingConstructorArgumentExceptions = [];
2828

2929
/**
30-
* @param ?class-string $class
3130
* @param MissingConstructorArgumentException[] $missingArguments
31+
* @param ?class-string $class
3232
*/
33-
public function __construct(string $message, int $code = 0, \Throwable $previous = null, string $class = null, array $missingArguments = [])
33+
public function __construct(string $message, int $code = 0, \Throwable $previous = null, array $missingArguments = [], string $class = null)
3434
{
3535
$this->missingConstructorArgumentExceptions = $missingArguments;
3636
$classes = array_unique(array_map(fn (MissingConstructorArgumentException $missingConstructorArgumentException) => $missingConstructorArgumentException->getClass(), $missingArguments));

0 commit comments

Comments
 (0)