@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * Adds an subclass property if it is not already existent. The default value is used as value. |
88 | 88 | * @param string $name the property name |
89 | - * @param mixed $default the default value for the property |
|
89 | + * @param string|null $default the default value for the property |
|
90 | 90 | * @return $this|SubClassData |
91 | 91 | */ |
92 | 92 | public function addPropertyIfNotExistent(string $name, $default) |
@@ -23,13 +23,14 @@ discard block |
||
23 | 23 | * Adds an subclass property if it is not already existent. The default value is used as value. |
24 | 24 | * @param string $name the property name |
25 | 25 | * @param mixed $default the default value for the property |
26 | - * @return $this|SubClassData |
|
26 | + * @return SubClassData |
|
27 | 27 | */ |
28 | 28 | public function addPropertyIfNotExistent(string $name, $default); |
29 | 29 | |
30 | 30 | /** |
31 | 31 | * clones the subclass data from other into this |
32 | 32 | * @param SubClassData $other |
33 | + * @return void |
|
33 | 34 | */ |
34 | 35 | public function cloneSubClassDataFrom($other); |
35 | 36 | |
@@ -51,7 +52,7 @@ discard block |
||
51 | 52 | /** |
52 | 53 | * Initializes the subclassData structure and adds the given keys with null values to it. |
53 | 54 | * @param string[] $keys the keys of the subclass data properties (the names). |
54 | - * @return $this|SubClassData |
|
55 | + * @return SubClassData |
|
55 | 56 | */ |
56 | 57 | public function initSubClassData(array $keys); |
57 | 58 | |
@@ -66,7 +67,7 @@ discard block |
||
66 | 67 | * Sets a property with the given name and the given value |
67 | 68 | * @param string $name the name of the property to set |
68 | 69 | * @param mixed $value the new value for the property |
69 | - * @return $this|SubClassData |
|
70 | + * @return SubClassData |
|
70 | 71 | * @throws PropertyNotExistingException |
71 | 72 | */ |
72 | 73 | public function setProperty(string $name, $value); |
@@ -111,7 +111,7 @@ |
||
111 | 111 | //<editor-fold desc="Private Methods"> |
112 | 112 | /** |
113 | 113 | * @param RankingSystemChangeInterface[] $changes |
114 | - * @param Collection|PlayerInterface[] $players |
|
114 | + * @param Collection $players |
|
115 | 115 | * @param TournamentHierarchyEntity $entity |
116 | 116 | * @param RankingSystemInterface $ranking |
117 | 117 | */ |
@@ -214,7 +214,7 @@ |
||
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |
217 | - * @param Collection|PlayerInterface[] $players |
|
217 | + * @param Collection $players |
|
218 | 218 | * @param RankingSystemListInterface $list |
219 | 219 | * @return RankingSystemListEntryInterface[] $entries |
220 | 220 | */ |