@@ -21,8 +21,6 @@ |
||
| 21 | 21 | * @param string $key |
| 22 | 22 | * @param string $name |
| 23 | 23 | * @param float $widthCoeficiency |
| 24 | - * @param boolean $sortable |
|
| 25 | - * @param boolean $translatable |
|
| 26 | 24 | */ |
| 27 | 25 | public function __construct($key, $name, $widthCoeficiency) |
| 28 | 26 | { |
@@ -171,8 +171,6 @@ |
||
| 171 | 171 | * @param string $key |
| 172 | 172 | * @param string $name |
| 173 | 173 | * @param integer $widthCoefficiency |
| 174 | - * @param bool $sortable |
|
| 175 | - * @param bool $translatable |
|
| 176 | 174 | * |
| 177 | 175 | * @return $this |
| 178 | 176 | */ |
@@ -80,6 +80,10 @@ discard block |
||
| 80 | 80 | $this->setSize($sizeX, $sizeY); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | + /** |
|
| 84 | + * @param double $x |
|
| 85 | + * @param double $y |
|
| 86 | + */ |
|
| 83 | 87 | public function setPosition($x, $y) |
| 84 | 88 | { |
| 85 | 89 | $this->startX = $x; |
@@ -217,6 +221,9 @@ discard block |
||
| 217 | 221 | } |
| 218 | 222 | |
| 219 | 223 | |
| 224 | + /** |
|
| 225 | + * @param string $class |
|
| 226 | + */ |
|
| 220 | 227 | public function addClass($class) |
| 221 | 228 | { |
| 222 | 229 | $this->frameClasses[] = $class; |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | } |
| 143 | 143 | |
| 144 | 144 | /** |
| 145 | - * @return mixed |
|
| 145 | + * @return double |
|
| 146 | 146 | */ |
| 147 | 147 | public function getY() |
| 148 | 148 | { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | /** |
| 185 | - * @param object $element |
|
| 185 | + * @param Renderable $element |
|
| 186 | 186 | */ |
| 187 | 187 | public function addChild(Renderable $element) |
| 188 | 188 | { |