Skip to content

Commit 8354f60

Browse files
committed
Fix codestyling
1 parent f87dbff commit 8354f60

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Symfony/Component/Notifier/Bridge/Slack/SlackOptions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ public function asUser(bool $bool): static
9292
*/
9393
public function postAt(\DateTime $timestamp): static
9494
{
95-
9695
$this->options['post_at'] = $timestamp->getTimestamp();
9796

9897
return $this;

src/Symfony/Component/Notifier/Bridge/Slack/SlackTransport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ protected function doSend(MessageInterface $message): SlackSentMessage
8282
}
8383
$options['text'] = $message->getSubject();
8484

85-
$apiMethod = 'chat.postMessage';
85+
$apiMethod = 'chat.postMessage';
8686

8787
if ($opts instanceof UpdateMessageSlackOptions) {
8888
$apiMethod = 'chat.update';
8989
}
9090

91-
if (array_key_exists('post_at', $options)) {
91+
if (\array_key_exists('post_at', $options)) {
9292
$apiMethod = 'chat.scheduleMessage';
9393
}
9494

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy