Skip to content

Commit

Permalink
Allow mixed values in attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Aug 14, 2024
1 parent 8482026 commit 114105f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Annotation/ServiceTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ServiceTag implements ServiceTagInterface
protected $name;

/**
* @var array<string, string|int|float|bool>
* @var array<string, mixed>
*/
protected $attributes = [];

Expand All @@ -47,7 +47,7 @@ public function getName(): string
}

/**
* @return array<string, string|int|float|bool>
* @return array<string, mixed>
*/
public function getAttributes(): array
{
Expand Down
2 changes: 1 addition & 1 deletion src/Annotation/ServiceTagInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface ServiceTagInterface
public function getName(): string;

/**
* @return array<string, string|int|float|bool>
* @return array<string, mixed>
*/
public function getAttributes(): array;
}

0 comments on commit 114105f

Please sign in to comment.