@@ -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) |
@@ -77,7 +77,7 @@ |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @return int |
|
80 | + * @return string |
|
81 | 81 | */ |
82 | 82 | public function getBackgroundOpacity() |
83 | 83 | { |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * If $isFontPath is false, then the first parameter is must contain a path to |
27 | 27 | * a TTF/ODF font, or must be an array of those paths. |
28 | 28 | * |
29 | - * @param string|array $fontsPath |
|
29 | + * @param string $fonts |
|
30 | 30 | * @param bool $isFontPath |
31 | 31 | */ |
32 | 32 | protected function __construct($fonts, $isFontPath = true) |
@@ -3,10 +3,7 @@ |
||
3 | 3 | |
4 | 4 | namespace SixtyNine\Cloud\Factory; |
5 | 5 | |
6 | -use Imagine\Gd\Imagine; |
|
7 | -use Imagine\Image\Box; |
|
8 | 6 | use Imagine\Image\Color; |
9 | -use Imagine\Image\Point; |
|
10 | 7 | use Imagine\Gd\Font as ImagineFont; |
11 | 8 | use SixtyNine\Cloud\Model\Font; |
12 | 9 | use Webmozart\Assert\Assert; |