Skip to content

Commit c78158f

Browse files
committed
Fix typehints
1 parent be2a9cb commit c78158f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Dependency/TagDependency.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
*/
2929
class TagDependency extends Dependency
3030
{
31+
/** @var string[] $tags */
32+
public array $tags;
33+
3134
public function __construct(
32-
/**
33-
* @var string[]|string $tags
34-
*/
35-
public array|string $tags,
35+
array|string $tags = [],
3636
public ?int $ttl = null
3737
) {
3838
$this->tags = Arr::wrap($tags);

0 commit comments

Comments
 (0)