File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/Symfony/Component/Notifier/Bridge/Slack Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ public function asUser(bool $bool): static
92
92
*/
93
93
public function postAt (\DateTime $ timestamp ): static
94
94
{
95
-
96
95
$ this ->options ['post_at ' ] = $ timestamp ->getTimestamp ();
97
96
98
97
return $ this ;
Original file line number Diff line number Diff line change @@ -82,13 +82,13 @@ protected function doSend(MessageInterface $message): SlackSentMessage
82
82
}
83
83
$ options ['text ' ] = $ message ->getSubject ();
84
84
85
- $ apiMethod = 'chat.postMessage ' ;
85
+ $ apiMethod = 'chat.postMessage ' ;
86
86
87
87
if ($ opts instanceof UpdateMessageSlackOptions) {
88
88
$ apiMethod = 'chat.update ' ;
89
89
}
90
90
91
- if (array_key_exists ('post_at ' , $ options )) {
91
+ if (\ array_key_exists ('post_at ' , $ options )) {
92
92
$ apiMethod = 'chat.scheduleMessage ' ;
93
93
}
94
94
You can’t perform that action at this time.
0 commit comments