[WebLink] fix types on Link::withAttribute()
This commit is contained in:
parent
ffb0d2d424
commit
29903e2c35
@ -46,7 +46,7 @@ class Link implements EvolvableLinkInterface
|
||||
private $rel = [];
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
* @var array<string, string|bool|string[]>
|
||||
*/
|
||||
private $attributes = [];
|
||||
|
||||
@ -132,6 +132,8 @@ class Link implements EvolvableLinkInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @param string|bool|string[] $value
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function withAttribute($attribute, $value)
|
||||
|
Reference in New Issue
Block a user