Skip to content

Commit be24643

Browse files
committed
chore: fix Rector convergence and docblock cleanup
1 parent 31d2d4d commit be24643

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎src/SAML2/Attribute/AttributeDefinition.php‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ class AttributeDefinition
3232
*/
3333
private readonly ?string $urnOid;
3434

35-
public function __construct(/**
36-
* @var string the name of the saml attribute
37-
*/
35+
/**
36+
* @param string $name the name of the saml attribute
37+
*/
38+
public function __construct(
3839
private readonly string $name,
3940
?string $urnMace = null,
4041
?string $urnOid = null

‎src/Tests/Component/Metadata/XsdValidator.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function validate(DOMDocument $document, string $xsdPath): array
3333

3434
if (!$isValid) {
3535
$errors = libxml_get_errors();
36-
$errorMessages = array_map(fn($error) => sprintf(
36+
$errorMessages = array_map(fn($error): string => sprintf(
3737
"Line %d: %s",
3838
$error->line,
3939
trim($error->message)

0 commit comments

Comments
 (0)