@@ -25,6 +25,7 @@ |
||
25 | 25 | * Sets the arguments related to this function. |
26 | 26 | * |
27 | 27 | * @param Collection<ArgumentDescriptor> $arguments |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setArguments(Collection $arguments) : void; |
30 | 31 |
@@ -21,6 +21,9 @@ discard block |
||
21 | 21 | */ |
22 | 22 | interface MethodInterface extends ElementInterface, TypeInterface |
23 | 23 | { |
24 | + /** |
|
25 | + * @return void |
|
26 | + */ |
|
24 | 27 | public function setAbstract(bool $abstract) : void; |
25 | 28 | |
26 | 29 | public function isAbstract() : bool; |
@@ -30,13 +33,22 @@ discard block |
||
30 | 33 | */ |
31 | 34 | public function getArguments() : Collection; |
32 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
33 | 39 | public function setFinal(bool $final) : void; |
34 | 40 | |
35 | 41 | public function isFinal() : bool; |
36 | 42 | |
43 | + /** |
|
44 | + * @return void |
|
45 | + */ |
|
37 | 46 | public function setStatic(bool $static) : void; |
38 | 47 | |
39 | 48 | public function isStatic() : bool; |
40 | 49 | |
50 | + /** |
|
51 | + * @return void |
|
52 | + */ |
|
41 | 53 | public function setVisibility(string $visibility) : void; |
42 | 54 | } |
@@ -26,6 +26,7 @@ discard block |
||
26 | 26 | * Sets the properties associated with this trait. |
27 | 27 | * |
28 | 28 | * @param Collection<PropertyDescriptor> $properties |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function setProperties(Collection $properties) : void; |
31 | 32 | |
@@ -47,6 +48,7 @@ discard block |
||
47 | 48 | * Sets all methods belonging to this trait. |
48 | 49 | * |
49 | 50 | * @param Collection<MethodDescriptor> $methods |
51 | + * @return void |
|
50 | 52 | */ |
51 | 53 | public function setMethods(Collection $methods) : void; |
52 | 54 |
@@ -24,8 +24,14 @@ |
||
24 | 24 | { |
25 | 25 | public function getHash() : string; |
26 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
27 | 30 | public function setSource(?string $source) : void; |
28 | 31 | |
32 | + /** |
|
33 | + * @return string|null |
|
34 | + */ |
|
29 | 35 | public function getSource() : ?string; |
30 | 36 | |
31 | 37 | /** |
@@ -101,6 +101,7 @@ |
||
101 | 101 | * Applies all middleware callbacks onto the configuration. |
102 | 102 | * |
103 | 103 | * @param array<string, string|array<mixed>> $configuration |
104 | + * @param null|UriInterface $uri |
|
104 | 105 | * |
105 | 106 | * @return array<string, string|array<mixed>> |
106 | 107 | */ |
@@ -23,6 +23,9 @@ |
||
23 | 23 | */ |
24 | 24 | interface ProjectInterface |
25 | 25 | { |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
26 | 29 | public function setName(string $name) : void; |
27 | 30 | |
28 | 31 | public function getName() : string; |
@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | * Sets the parent for this Descriptor. |
36 | 36 | * |
37 | 37 | * @param Collection<InterfaceDescriptor|Fqsen> $parents |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function setParent(Collection $parents) : void; |
40 | 41 | |
@@ -42,6 +43,7 @@ discard block |
||
42 | 43 | * Sets the constants associated with this interface. |
43 | 44 | * |
44 | 45 | * @param Collection<ConstantDescriptor> $constants |
46 | + * @return void |
|
45 | 47 | */ |
46 | 48 | public function setConstants(Collection $constants) : void; |
47 | 49 | |
@@ -56,6 +58,7 @@ discard block |
||
56 | 58 | * Sets the methods belonging to this interface. |
57 | 59 | * |
58 | 60 | * @param Collection<MethodDescriptor> $methods |
61 | + * @return void |
|
59 | 62 | */ |
60 | 63 | public function setMethods(Collection $methods) : void; |
61 | 64 |
@@ -299,7 +299,7 @@ |
||
299 | 299 | } |
300 | 300 | |
301 | 301 | /** |
302 | - * @param iterable<Type> $value |
|
302 | + * @param Type[] $value |
|
303 | 303 | * |
304 | 304 | * @return list<string> |
305 | 305 | */ |
@@ -122,7 +122,7 @@ |
||
122 | 122 | * |
123 | 123 | * @param string|Fqsen|Type|Collection<mixed>|array<mixed>|Descriptor $item |
124 | 124 | * |
125 | - * @return string|DescriptorAbstract|Collection<string|DescriptorAbstract>|array<string|DescriptorAbstract>|null |
|
125 | + * @return string |
|
126 | 126 | */ |
127 | 127 | public function substitute($item, ?DescriptorAbstract $container = null) |
128 | 128 | { |