Skip to content

Commit 114105f

Browse files
committed
Allow mixed values in attributes
1 parent 8482026 commit 114105f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Annotation/ServiceTag.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ServiceTag implements ServiceTagInterface
2525
protected $name;
2626

2727
/**
28-
* @var array<string, string|int|float|bool>
28+
* @var array<string, mixed>
2929
*/
3030
protected $attributes = [];
3131

@@ -47,7 +47,7 @@ public function getName(): string
4747
}
4848

4949
/**
50-
* @return array<string, string|int|float|bool>
50+
* @return array<string, mixed>
5151
*/
5252
public function getAttributes(): array
5353
{

src/Annotation/ServiceTagInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface ServiceTagInterface
99
public function getName(): string;
1010

1111
/**
12-
* @return array<string, string|int|float|bool>
12+
* @return array<string, mixed>
1313
*/
1414
public function getAttributes(): array;
1515
}

0 commit comments

Comments
 (0)