Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
StyleCI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepsinn committed Jan 25, 2019
1 parent b69249f commit e21de30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Action/Responses/BasicCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function button($buttonText, $buttonUrl)
{
$this->buttons[] = [
'buttonText' => $buttonText,
'buttonUrl' => $buttonUrl
'buttonUrl' => $buttonUrl,
];

return $this;
Expand Down Expand Up @@ -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'],
Expand Down
10 changes: 5 additions & 5 deletions src/RichMessage/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function button($buttonText, $buttonUrl)
{
$this->buttons[] = [
'buttonText' => $buttonText,
'buttonUrl' => $buttonUrl
'buttonUrl' => $buttonUrl,
];

return $this;
Expand Down Expand Up @@ -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'],
Expand Down Expand Up @@ -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'],
Expand Down Expand Up @@ -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'],
Expand Down Expand Up @@ -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'],
Expand Down

0 comments on commit e21de30

Please sign in to comment.