File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function __construct(array $data = [])
36
36
37
37
public function hasAttachment (): bool
38
38
{
39
- return !is_null ($ this ->attachment_title ) || !is_null ($ this ->attachment_content );
39
+ return ! is_null ($ this ->attachment_title ) || ! is_null ($ this ->attachment_content );
40
40
}
41
41
42
42
public function getAttachmentTitle (): ?string
@@ -51,7 +51,7 @@ public function getAttachmentContent(): ?string
51
51
52
52
public static function makeWithMessage (string $ message ): self
53
53
{
54
- return tap (new static , fn (self $ dto ) => $ dto ->setMessage ($ message ));
54
+ return tap (new static , fn (self $ dto ) => $ dto ->setMessage ($ message ));
55
55
}
56
56
57
57
public static function makeFromException (Throwable $ t ): self
@@ -75,7 +75,7 @@ public function setMessage(string $message): self
75
75
76
76
public static function makeFromExceptionLog (ExceptionLog $ log ): self
77
77
{
78
- return tap (new static , fn (self $ dto ) => $ dto
78
+ return tap (new static , fn (self $ dto ) => $ dto
79
79
->setMessage ($ log ->name )
80
80
->setTitle ($ log ->identifier )
81
81
->setAttachmentLink ($ log ->getUrl ()));
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- use Binarcode \LaravelDeveloper \LaravelDeveloper ;
4
3
use Binarcode \LaravelDeveloper \Notifications \Slack ;
5
4
use Binarcode \LaravelDeveloper \Profiling \ServerMemory ;
6
5
use Binarcode \LaravelDeveloper \Profiling \ServerTiming ;
Original file line number Diff line number Diff line change 2
2
3
3
namespace Binarcode \LaravelDeveloper \Tests \Helpers ;
4
4
5
- use Binarcode \LaravelDeveloper \LaravelDeveloper ;
6
5
use Binarcode \LaravelDeveloper \Notifications \DevNotification ;
7
6
use Binarcode \LaravelDeveloper \Notifications \Slack ;
8
7
use Binarcode \LaravelDeveloper \Tests \TestCase ;
You can’t perform that action at this time.
0 commit comments