From 4a219b8bdcffc55e4db1c02f2a8d034d5da867ac Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 13 Nov 2024 17:03:47 +0100 Subject: [PATCH] wait #7180 @1 --- src/Compiler/CompilerInterface.php | 2 +- src/Compiler/DummyCompiler.php | 2 +- src/Links/Link.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5