@@ -47,7 +47,7 @@ |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * @return ParentItem|null |
|
50 | + * @return ItemInterface|null |
|
51 | 51 | */ |
52 | 52 | public function getRootItem() |
53 | 53 | { |
@@ -388,7 +388,7 @@ |
||
388 | 388 | * Remove special characters from map name |
389 | 389 | * |
390 | 390 | * @param string $string |
391 | - * @return mixed |
|
391 | + * @return string |
|
392 | 392 | */ |
393 | 393 | protected function cleanString($string) |
394 | 394 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | * @param string $axis |
33 | 33 | * @param float $posX |
34 | 34 | * @param float $posY |
35 | - * @param $scrollbarSize |
|
35 | + * @param integer $scrollbarSize |
|
36 | 36 | * @param float $length |
37 | 37 | */ |
38 | 38 | public function __construct($axis, $posX, $posY, $scrollbarSize, $length) |
@@ -142,6 +142,9 @@ |
||
142 | 142 | $script->addCustomScriptLabel(ScriptLabel::Loop, $this->getScriptLoop()); |
143 | 143 | } |
144 | 144 | |
145 | + /** |
|
146 | + * @return string|null |
|
147 | + */ |
|
145 | 148 | protected function getScriptInit() |
146 | 149 | { |
147 | 150 | $offset = number_format($this->offset, 1, ".", ""); |
@@ -120,8 +120,8 @@ |
||
120 | 120 | |
121 | 121 | /** |
122 | 122 | * sets vote value |
123 | - * @param $login |
|
124 | - * @param $vote |
|
123 | + * @param string $login |
|
124 | + * @param integer $vote |
|
125 | 125 | */ |
126 | 126 | public function setVote($login, $vote) |
127 | 127 | { |
@@ -93,7 +93,7 @@ |
||
93 | 93 | /** |
94 | 94 | * Get a variable. |
95 | 95 | * |
96 | - * @param $variable |
|
96 | + * @param string $variable |
|
97 | 97 | * |
98 | 98 | * @return Variable |
99 | 99 | */ |
@@ -121,11 +121,11 @@ |
||
121 | 121 | |
122 | 122 | |
123 | 123 | /** |
124 | - * @param $prefix |
|
125 | - * @param $title |
|
126 | - * @param $message |
|
124 | + * @param string $prefix |
|
125 | + * @param string $title |
|
126 | + * @param string $message |
|
127 | 127 | * @param $params |
128 | - * @param $duration |
|
128 | + * @param integer $duration |
|
129 | 129 | * @param string|Group|null $group |
130 | 130 | */ |
131 | 131 | protected function sendNotification($prefix, $title, $message, $params, $duration, $group = null) |
@@ -59,7 +59,6 @@ |
||
59 | 59 | * @param string $functionName |
60 | 60 | * @param string $parameterDescription |
61 | 61 | * @param AdminGroups $adminGroupsHelper |
62 | - * @param Connection $connection |
|
63 | 62 | * @param ChatNotification $chatNotification |
64 | 63 | * @param PlayerStorage $playerStorage |
65 | 64 | * @param LoggerInterface $logger |
@@ -57,7 +57,6 @@ |
||
57 | 57 | * @param DataCollectionFactory $dataCollectionFactory |
58 | 58 | * @param GridBuilderFactory $gridBuilderFactory |
59 | 59 | * @param ChatCommandDataProvider $chatCommandDataProvider |
60 | - * @param Connection $connection |
|
61 | 60 | * @param AdminGroups $adminGroups |
62 | 61 | */ |
63 | 62 | public function __construct( |