From e21de300423d3ec85ab6b92eedb55e7a1cf7139a Mon Sep 17 00:00:00 2001 From: "Mike P. Sinn" Date: Fri, 25 Jan 2019 14:15:40 -0600 Subject: [PATCH] StyleCI issues --- src/Action/Responses/BasicCard.php | 4 ++-- src/RichMessage/Card.php | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Action/Responses/BasicCard.php b/src/Action/Responses/BasicCard.php index f281e59..af3e51e 100644 --- a/src/Action/Responses/BasicCard.php +++ b/src/Action/Responses/BasicCard.php @@ -87,7 +87,7 @@ public function button($buttonText, $buttonUrl) { $this->buttons[] = [ 'buttonText' => $buttonText, - 'buttonUrl' => $buttonUrl + 'buttonUrl' => $buttonUrl, ]; return $this; @@ -119,7 +119,7 @@ public function renderRichResponseItem() } if ($this->buttons) { - foreach ($this->buttons as $button){ + foreach ($this->buttons as $button) { $basicCard['buttons'][] = [ 'title' => $button['buttonText'], diff --git a/src/RichMessage/Card.php b/src/RichMessage/Card.php index f1fcc5c..17e70f3 100644 --- a/src/RichMessage/Card.php +++ b/src/RichMessage/Card.php @@ -78,7 +78,7 @@ public function button($buttonText, $buttonUrl) { $this->buttons[] = [ 'buttonText' => $buttonText, - 'buttonUrl' => $buttonUrl + 'buttonUrl' => $buttonUrl, ]; return $this; @@ -115,7 +115,7 @@ protected function renderV1() if ($this->buttons) { $out['buttons'] = []; - foreach ($this->buttons as $button){ + foreach ($this->buttons as $button) { $out['buttons'][] = [ 'title' => $button['buttonText'], @@ -147,7 +147,7 @@ protected function renderV1() if ($this->buttons) { $out['buttons'] = []; - foreach ($this->buttons as $button){ + foreach ($this->buttons as $button) { $out['buttons'][] = [ 'text' => $button['buttonText'], @@ -190,7 +190,7 @@ protected function renderV2() if ($this->buttons) { $out['basicCard']['buttons'] = []; - foreach ($this->buttons as $button){ + foreach ($this->buttons as $button) { $out['basicCard']['buttons'][] = [ 'title' => $button['buttonText'], @@ -220,7 +220,7 @@ protected function renderV2() if ($this->buttons) { $out['card']['buttons'] = []; - foreach ($this->buttons as $button){ + foreach ($this->buttons as $button) { $out['card']['buttons'][] = [ 'text' => $button['buttonText'],