From 3b65bdb03aea651bfc850e53544bc81f17b0cf1a Mon Sep 17 00:00:00 2001 From: Kouhei Sano Date: Sat, 3 Apr 2021 14:58:00 +0900 Subject: [PATCH] refactor: slack --- src/Main.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main.php b/src/Main.php index 6e757d5..c9b4b85 100644 --- a/src/Main.php +++ b/src/Main.php @@ -98,7 +98,7 @@ public function run() $message ->addBlock( (new SlackSection()) - ->addField( + ->setText( new SlackMarkdownText('```' . $chunk . '```') ) ); @@ -369,7 +369,7 @@ public function run() $message ->addBlock( (new SlackSection()) - ->addField( + ->setText( new SlackMarkdownText('```' . $chunk . '```') ) ); @@ -393,7 +393,7 @@ public function run() $message ->addBlock( (new SlackSection()) - ->addField( + ->setText( new SlackMarkdownText('```' . $chunk . '```') ) );