Skip to content

Commit 820cd4e

Browse files
committed
Merge branch '5.2' into 5.3
* 5.2: Reapply the change to allow to set the composer binary path [DependencyInjection] throw proper exception when decorating a synthetic service [WebLink] Sync type with parent interface [WebLink] fix types on Link::withAttribute() [ErrorHandler][DebugClassLoader] Do not check Phake mocks classes
2 parents 87b34e3 + 810a0a0 commit 820cd4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Link.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Link implements EvolvableLinkInterface
4646
private $rel = [];
4747

4848
/**
49-
* @var string[]
49+
* @var array<string, string|bool|string[]>
5050
*/
5151
private $attributes = [];
5252

@@ -132,6 +132,8 @@ public function withoutRel($rel)
132132
/**
133133
* {@inheritdoc}
134134
*
135+
* @param string|\Stringable|int|float|bool|string[] $value
136+
*
135137
* @return static
136138
*/
137139
public function withAttribute($attribute, $value)

0 commit comments

Comments
 (0)