@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * Search a free place for a new box. |
| 74 | 74 | * @param \SixtyNine\Cloud\Model\Box $bounds |
| 75 | 75 | * @param \SixtyNine\Cloud\Model\Box $box |
| 76 | - * @return bool|Box |
|
| 76 | + * @return Box |
|
| 77 | 77 | */ |
| 78 | 78 | protected function searchPlace(Box $bounds, Box $box) |
| 79 | 79 | { |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | * @param string $paletteName |
| 90 | 90 | * @param string $paletteType |
| 91 | 91 | * @param string $palettesFile |
| 92 | - * @return bool|ColorGeneratorInterface |
|
| 92 | + * @return ColorGeneratorInterface |
|
| 93 | 93 | * @throws \InvalidArgumentException |
| 94 | 94 | */ |
| 95 | 95 | public function getColorGenerator($paletteName, $paletteType, $palettesFile = null) |
@@ -28,6 +28,10 @@ |
||
| 28 | 28 | /** @var int */ |
| 29 | 29 | protected $right; |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @param integer $x |
|
| 33 | + * @param integer $y |
|
| 34 | + */ |
|
| 31 | 35 | public function __construct($x, $y, $width, $height) |
| 32 | 36 | { |
| 33 | 37 | $this->x = $x; |