@@ -24,6 +24,7 @@ |
||
24 | 24 | * @param string[] $aliases |
25 | 25 | * @param mixed[] $properties |
26 | 26 | * @param Link[] $links |
27 | + * @param string $subject |
|
27 | 28 | */ |
28 | 29 | public function __construct(?string $subject, array $aliases, array $properties, array $links) |
29 | 30 | { |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface ResourceRepository |
19 | 19 | { |
20 | + /** |
|
21 | + * @return null|ResourceDescriptor |
|
22 | + */ |
|
20 | 23 | public function find(string $resource, Identifier $identifier): ?ResourceDescriptor; |
21 | 24 | } |