@@ -12,9 +12,9 @@ discard block |
||
12 | 12 | /** |
13 | 13 | * Return the descriptors value for the given descriptor. |
14 | 14 | * |
15 | - * @param string $descriptor |
|
15 | + * @param string $descriptorKey |
|
16 | 16 | * |
17 | - * @return mixed |
|
17 | + * @return DescriptorInterface |
|
18 | 18 | */ |
19 | 19 | public function get($descriptorKey): DescriptorInterface; |
20 | 20 | |
@@ -45,8 +45,9 @@ discard block |
||
45 | 45 | * defined in the Descriptor class. |
46 | 46 | * |
47 | 47 | * @param string $key |
48 | - * @param string $descriptor |
|
48 | + * @param DescriptorInterface $descriptor |
|
49 | 49 | * @param int $priority |
50 | + * @return void |
|
50 | 51 | */ |
51 | 52 | public function set(string $key, DescriptorInterface $descriptor, int $priority = 0); |
52 | 53 | } |