Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/SlackNotifierFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class SlackNotifierFormatter

public function __construct()
{
$this->message = new SlackMessage();
$this->normalizer = new NormalizerFormatter();
$this->message = new SlackMessage;
$this->normalizer = new NormalizerFormatter;

$this->context = config('slack-notifier.context', [
'get', 'post', 'cookie', 'session',
Expand Down
2 changes: 1 addition & 1 deletion tests/SlackNotifierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
it('can send a notification with an object to slack using the default webhook url', function () {
config()->set('slack-notifier.webhook_urls.default', 'https://default-domain.com');

SlackNotifier::send(new stdClass());
SlackNotifier::send(new stdClass);

Notification::assertSentTimes(SendToSlack::class, 1);
});
Expand Down