File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ class Alignment extends Supervisor
100
100
/**
101
101
* Justify Last Line alignment.
102
102
*/
103
- protected ?string $ justifyLastLine = null ;
103
+ protected ?bool $ justifyLastLine = null ;
104
104
105
105
/**
106
106
* Vertical alignment.
@@ -266,7 +266,7 @@ public function setHorizontal(string $horizontalAlignment): static
266
266
/**
267
267
* Get Justify Last Line.
268
268
*/
269
- public function getJustifyLastLine (): null | string
269
+ public function getJustifyLastLine (): ? bool
270
270
{
271
271
if ($ this ->isSupervisor ) {
272
272
return $ this ->getSharedComponent ()->getJustifyLastLine ();
@@ -278,11 +278,11 @@ public function getJustifyLastLine(): null|string
278
278
/**
279
279
* Set Justify Last Line.
280
280
*
281
- * @param string $justifyLastLine see self::HORIZONTAL_*
281
+ * @param bool $justifyLastLine see self::HORIZONTAL_*
282
282
*
283
283
* @return $this
284
284
*/
285
- public function setJustifyLastLine (string $ justifyLastLine ): static
285
+ public function setJustifyLastLine (bool $ justifyLastLine ): static
286
286
{
287
287
if ($ this ->isSupervisor ) {
288
288
$ styleArray = $ this ->getStyleArray (['justifyLastLine ' => $ justifyLastLine ]);
You can’t perform that action at this time.
0 commit comments