Skip to content

Commit 13799ec

Browse files
binarykactions-user
authored andcommitted
Fix styling
1 parent 5e5ac90 commit 13799ec

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/Dtos/DevNotificationDto.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct(array $data = [])
3636

3737
public function hasAttachment(): bool
3838
{
39-
return !is_null($this->attachment_title) || !is_null($this->attachment_content);
39+
return ! is_null($this->attachment_title) || ! is_null($this->attachment_content);
4040
}
4141

4242
public function getAttachmentTitle(): ?string
@@ -51,7 +51,7 @@ public function getAttachmentContent(): ?string
5151

5252
public static function makeWithMessage(string $message): self
5353
{
54-
return tap(new static, fn(self $dto) => $dto->setMessage($message));
54+
return tap(new static, fn (self $dto) => $dto->setMessage($message));
5555
}
5656

5757
public static function makeFromException(Throwable $t): self
@@ -75,7 +75,7 @@ public function setMessage(string $message): self
7575

7676
public static function makeFromExceptionLog(ExceptionLog $log): self
7777
{
78-
return tap(new static, fn(self $dto) => $dto
78+
return tap(new static, fn (self $dto) => $dto
7979
->setMessage($log->name)
8080
->setTitle($log->identifier)
8181
->setAttachmentLink($log->getUrl()));

src/helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
use Binarcode\LaravelDeveloper\LaravelDeveloper;
43
use Binarcode\LaravelDeveloper\Notifications\Slack;
54
use Binarcode\LaravelDeveloper\Profiling\ServerMemory;
65
use Binarcode\LaravelDeveloper\Profiling\ServerTiming;

tests/Helpers/SlackHelperTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Binarcode\LaravelDeveloper\Tests\Helpers;
44

5-
use Binarcode\LaravelDeveloper\LaravelDeveloper;
65
use Binarcode\LaravelDeveloper\Notifications\DevNotification;
76
use Binarcode\LaravelDeveloper\Notifications\Slack;
87
use Binarcode\LaravelDeveloper\Tests\TestCase;

0 commit comments

Comments
 (0)