@@ -258,7 +258,7 @@ |
||
258 | 258 | /** |
259 | 259 | * Sets a new parameter in the collection. |
260 | 260 | * |
261 | - * @param string|int $key |
|
261 | + * @param string $key |
|
262 | 262 | */ |
263 | 263 | public function setParameter($key, Parameter $value) : void |
264 | 264 | { |
@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * Sets the types that this constant may contain. |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function setTypes(Type $types) : void; |
27 | 28 | |
@@ -36,6 +37,7 @@ discard block |
||
36 | 37 | |
37 | 38 | /** |
38 | 39 | * Sets the value representation for this constant. |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function setValue(string $value) : void; |
41 | 43 |
@@ -34,10 +34,16 @@ |
||
34 | 34 | /** @return Collection<InterfaceDescriptor|Fqsen> */ |
35 | 35 | public function getInterfaces() : Collection; |
36 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
37 | 40 | public function setFinal(bool $final) : void; |
38 | 41 | |
39 | 42 | public function isFinal() : bool; |
40 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
41 | 47 | public function setAbstract(bool $abstract) : void; |
42 | 48 | |
43 | 49 | public function isAbstract() : bool; |
@@ -26,6 +26,7 @@ |
||
26 | 26 | * Sets a list of errors on the associated element. |
27 | 27 | * |
28 | 28 | * @param Collection<Validation\Error> $errors |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function setErrors(Collection $errors) : void; |
31 | 32 | } |
@@ -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 | /** |
@@ -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; |