Skip to content

Commit

Permalink
Fixed code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickobedgiu1 committed Oct 30, 2024
1 parent 1ae0691 commit 3acbc19
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Message/ButtonReply/DocumentHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ public function getBody(): array
],
];
}
}
}
2 changes: 1 addition & 1 deletion src/Message/ButtonReply/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ abstract class Header
protected string $type;

abstract public function getBody(): array;
}
}
2 changes: 1 addition & 1 deletion src/Message/ButtonReply/ImageHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ public function getBody(): array
],
];
}
}
}
2 changes: 1 addition & 1 deletion src/Message/ButtonReply/TextHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public function getBody(): array
'text' => $this->text,
];
}
}
}
2 changes: 1 addition & 1 deletion src/Message/ButtonReply/VideoHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ public function getBody(): array
],
];
}
}
}
2 changes: 1 addition & 1 deletion src/Message/ButtonReplyMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class ButtonReplyMessage extends Message

private ButtonAction $action;

public function __construct(string $to, string $body, ButtonAction $action, ?Header $header = null, ?string $footer = null, ?string $reply_to = null)
public function __construct(string $to, string $body, ButtonAction $action, ?Header $header = null, ?string $footer = null, ?string $reply_to = null)
{
$this->body = $body;
$this->action = $action;
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/WhatsAppCloudApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ public function test_send_reply_buttons_with_document_link_header()
$buttonAction = new ButtonAction($buttonRows);

$link_id = new LinkID('https://netflie.es/wp-content/uploads/2022/05/image.png');
$header = new DocumentHeader($link_id,'whatsapp-cloud-api.png');
$header = new DocumentHeader($link_id, 'whatsapp-cloud-api.png');
$footer = 'This is an optional footer';

$response = $this->whatsapp_app_cloud_api->sendButton(
Expand Down

0 comments on commit 3acbc19

Please sign in to comment.