@@ -215,7 +215,7 @@ |
||
| 215 | 215 | * @param Manialink $manialink |
| 216 | 216 | * @param Frame $frame |
| 217 | 217 | * @param ParentItem $parentItem |
| 218 | - * @param $displayLevel |
|
| 218 | + * @param integer $displayLevel |
|
| 219 | 219 | */ |
| 220 | 220 | protected function createSubMenu(Manialink $manialink, Frame $frame, ParentItem $parentItem, $displayLevel) |
| 221 | 221 | { |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use eXpansion\Framework\Gui\Components\uiButton; |
| 15 | 15 | use eXpansion\Framework\Gui\Components\uiLabel; |
| 16 | 16 | use FML\Controls\Frame; |
| 17 | -use FML\Controls\Label; |
|
| 18 | 17 | use FML\Controls\Quad; |
| 19 | 18 | |
| 20 | 19 | |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * @param ParentItem $rootItem |
| 43 | 43 | * @param $openId |
| 44 | 44 | * |
| 45 | - * @return Renderable |
|
| 45 | + * @return Container |
|
| 46 | 46 | */ |
| 47 | 47 | public function createTabsMenu(ManialinkInterface $manialink, Container $tabsFrame, ParentItem $rootItem, $openId) |
| 48 | 48 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use eXpansion\Framework\Core\Helpers\Time; |
| 9 | 9 | use eXpansion\Framework\Core\Plugins\StatusAwarePluginInterface; |
| 10 | 10 | use eXpansion\Framework\Core\Services\Console; |
| 11 | -use eXpansion\Framework\Core\Storage\Data\Player; |
|
| 12 | 11 | use eXpansion\Framework\Core\Storage\PlayerStorage; |
| 13 | 12 | use Maniaplanet\DedicatedServer\Connection; |
| 14 | 13 | use Maniaplanet\DedicatedServer\Structures\Map; |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use eXpansion\Framework\Gui\Components\uiButton; |
| 12 | 12 | use eXpansion\Framework\Gui\Ui\Factory; |
| 13 | 13 | use FML\Controls\Frame; |
| 14 | -use FML\Controls\Label; |
|
| 15 | 14 | use FML\Controls\Quad; |
| 16 | 15 | use FML\ManiaLink; |
| 17 | 16 | |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use eXpansion\Framework\Core\Model\Gui\ManiaScriptFactory; |
| 7 | 7 | use eXpansion\Framework\Core\Model\Gui\WindowFrameFactoryInterface; |
| 8 | 8 | use eXpansion\Framework\Gui\Components\uiButton; |
| 9 | -use FML\Controls\Control; |
|
| 10 | 9 | use FML\Controls\Frame; |
| 11 | 10 | use FML\Controls\Label; |
| 12 | 11 | use FML\Controls\Quad; |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * Build the window frame content. |
| 18 | 18 | * |
| 19 | 19 | * @param ManiaLink $manialink |
| 20 | - * @param Frame|Container $mainFrame to build into |
|
| 20 | + * @param Frame $mainFrame to build into |
|
| 21 | 21 | * @param $name |
| 22 | 22 | * @param float $sizeX Size of the inner frame to build the window frame around |
| 23 | 23 | * @param float $sizeY Size of the inner frame to build the window frame around |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param ManialinkInterface $manialinkInterface |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setManialinkInterface(ManialinkInterface $manialinkInterface); |
| 32 | 33 | |