From: Vincent Vanwaelscappel Date: Wed, 13 Nov 2024 16:03:47 +0000 (+0100) Subject: wait #7180 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4a219b8bdcffc55e4db1c02f2a8d034d5da867ac;p=fluidbook_tools.git wait #7180 @1 --- diff --git a/src/Compiler/CompilerInterface.php b/src/Compiler/CompilerInterface.php index 46eca63..2cb83ab 100644 --- a/src/Compiler/CompilerInterface.php +++ b/src/Compiler/CompilerInterface.php @@ -73,5 +73,5 @@ interface CompilerInterface public function addIssue($type, $data = []); - public function addPageBackgroundColor($page, $to); + public function addPageBackgroundColor($page, $color,$arrowsColor); } diff --git a/src/Compiler/DummyCompiler.php b/src/Compiler/DummyCompiler.php index 7261581..3b48d5f 100644 --- a/src/Compiler/DummyCompiler.php +++ b/src/Compiler/DummyCompiler.php @@ -150,7 +150,7 @@ class DummyCompiler implements CompilerInterface { // TODO: Implement addIssue() method. } - public function addPageBackgroundColor($page, $to) + public function addPageBackgroundColor($page, $color, $arrowsColor) { // TODO: Implement addPageBackgroundColor() method. } diff --git a/src/Links/Link.php b/src/Links/Link.php index 2591d74..ec91837 100644 --- a/src/Links/Link.php +++ b/src/Links/Link.php @@ -321,7 +321,7 @@ class Link case static::COPY_TO_CLIPBOARD: return new CopyToClipboardLink($id, $init, $compiler); case static::PAGE_BACKGROUND_COLOR: - $compiler->addPageBackgroundColor($init['page'], $init['to']); + $compiler->addPageBackgroundColor($init['page'], $init['to'] ?? '', $init['extra'] ?? ''); break; default: return null;