From e4704707eba526d1b30289faa5aa17fe84844e01 Mon Sep 17 00:00:00 2001 From: alyssatownsend Date: Mon, 6 May 2024 17:59:08 -0400 Subject: [PATCH] syntax --- colorInSync/app/Http/Controllers/DocumentController.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/colorInSync/app/Http/Controllers/DocumentController.php b/colorInSync/app/Http/Controllers/DocumentController.php index 657d245..f1fc0b9 100644 --- a/colorInSync/app/Http/Controllers/DocumentController.php +++ b/colorInSync/app/Http/Controllers/DocumentController.php @@ -115,8 +115,9 @@ public function show(Request $request, string $id) #$text = "Nevertheless, the angelic being persevered."; - $colorProfile = - '"grapheme-color map": { + $colorProfile = ' + { + "grapheme-color map": { "A": "rgb(230,16,16)", "B": "rgb(29,26,214)", "C": "rgb(250,247,65)", @@ -144,7 +145,8 @@ public function show(Request $request, string $id) "Y": "rgb(255,242,0)", "Z": "rgb(197,228,232)" }, - "exceptions-color map": {"angelic": "rgb(250,250,250)", "Monday": "rgb(0,0,0)"}'; + "exceptions-color map": {"angelic": "rgb(250,250,250)", "Monday": "rgb(0,0,0)"} + }'; $object = new \stdClass(); $object->colorProfile = $colorProfile;