@@ -45,7 +45,7 @@ |
||
| 45 | 45 | /** |
| 46 | 46 | * Create a multi column line. |
| 47 | 47 | * |
| 48 | - * @param $totalWidth |
|
| 48 | + * @param double $totalWidth |
|
| 49 | 49 | * @param $columns |
| 50 | 50 | * |
| 51 | 51 | * @return Frame |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | /** |
| 176 | 176 | * Recursive search all dome tree in order to find all translatable labels. |
| 177 | 177 | * |
| 178 | - * @param $frame |
|
| 178 | + * @param \FML\ManiaLink $frame |
|
| 179 | 179 | * @param $translations |
| 180 | 180 | */ |
| 181 | 181 | protected function getDictionaryInformation($frame, &$translations) |
@@ -305,7 +305,7 @@ discard block |
||
| 305 | 305 | * |
| 306 | 306 | * @param Format $format New Format |
| 307 | 307 | * |
| 308 | - * @return static |
|
| 308 | + * @return Frame |
|
| 309 | 309 | * @deprecated Use Style |
| 310 | 310 | * @see Style |
| 311 | 311 | */ |
@@ -2,14 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace eXpansion\Framework\Core\Model\Gui; |
| 4 | 4 | |
| 5 | -use eXpansion\Framework\Core\Exceptions\Gui\MissingCloseActionException; |
|
| 6 | 5 | use eXpansion\Framework\Core\Helpers\Translations; |
| 7 | 6 | use eXpansion\Framework\Core\Model\UserGroups\Group; |
| 8 | 7 | use FML\Controls\Frame; |
| 9 | 8 | use FML\Controls\Label; |
| 10 | -use FML\Controls\Quad; |
|
| 11 | -use FML\Controls\Quads\Quad_Bgs1; |
|
| 12 | -use FML\Controls\Quads\Quad_Bgs1InRace; |
|
| 13 | 9 | use FML\Elements\Dico; |
| 14 | 10 | use FML\Elements\Format; |
| 15 | 11 | use FML\Types\Container; |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | { |
| 108 | 108 | foreach ($frame->getChildren() as $child) { |
| 109 | 109 | if ($child instanceof Label && $child->getTranslate()) { |
| 110 | - $textId = 'exp_' . md5($child->getTextId()); |
|
| 110 | + $textId = 'exp_'.md5($child->getTextId()); |
|
| 111 | 111 | $translations[$textId] = $this->translationHelper->getTranslations($child->getTextId(), []); |
| 112 | 112 | |
| 113 | 113 | // Replaces with text id that can be used in the xml. |
@@ -10,10 +10,7 @@ |
||
| 10 | 10 | use FML\Controls\Quad; |
| 11 | 11 | use FML\Controls\Quads\Quad_Bgs1; |
| 12 | 12 | use FML\Controls\Quads\Quad_Bgs1InRace; |
| 13 | -use FML\Elements\Dico; |
|
| 14 | -use FML\Elements\Format; |
|
| 15 | 13 | use FML\Types\Container; |
| 16 | -use FML\Types\Renderable; |
|
| 17 | 14 | |
| 18 | 15 | class Window extends Widget implements Container |
| 19 | 16 | { |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | /** |
| 75 | 75 | * Get the number of the last page. |
| 76 | 76 | * |
| 77 | - * @return int |
|
| 77 | + * @return double |
|
| 78 | 78 | */ |
| 79 | 79 | public function getLastPageNumber() |
| 80 | 80 | { |
@@ -164,7 +164,7 @@ |
||
| 164 | 164 | * @param string $name |
| 165 | 165 | * @param integer $widthCoefficiency |
| 166 | 166 | * @param $action |
| 167 | - * @param Label $renderer |
|
| 167 | + * @param \FML\Controls\Label $renderer |
|
| 168 | 168 | */ |
| 169 | 169 | public function addActionColumn($key, $name, $widthCoefficiency, $action, $renderer) |
| 170 | 170 | { |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | ->setAreaColor("3af") |
| 56 | 56 | ->setPosition(100, 60) |
| 57 | 57 | ->setScriptEvents(true); |
| 58 | - // $manialink->addChild($label); |
|
| 58 | + // $manialink->addChild($label); |
|
| 59 | 59 | |
| 60 | 60 | $btnFrame = Frame::create("buttons"); |
| 61 | 61 | $btnFrame->setZ(101)->setPosition(0, 30); |