Skip to content

Commit

Permalink
fix more styling
Browse files Browse the repository at this point in the history
  • Loading branch information
princejohnsantillan committed Oct 23, 2024
1 parent fe89c66 commit 556db98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Slack/BlockKit/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Builder implements Arrayable
{
public function __construct(
protected string $payload = '[]'
){
) {
}

/**
Expand Down
1 change: 0 additions & 1 deletion src/Slack/SlackMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public function to(string $channel): self
return $this;
}


/**
* Set the Block Kit Builder json payload.
*/
Expand Down
10 changes: 5 additions & 5 deletions tests/Slack/Unit/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ public function it_is_arrayable_and_removes_the_blocks_key(): void

$this->assertSame([
[
"type"=> "section",
"text"=> [
"type"=> "plain_text",
"text"=> "This is a plain text section block.",
"emoji"=> true
'type'=> 'section',
'text'=> [
'type'=> 'plain_text',
'text'=> 'This is a plain text section block.',
'emoji'=> true
],
],
[
Expand Down

0 comments on commit 556db98

Please sign in to comment.