File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 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 = [])
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 ()));
Original file line number Diff line number Diff line change 11<?php
22
3- use Binarcode \LaravelDeveloper \LaravelDeveloper ;
43use Binarcode \LaravelDeveloper \Notifications \Slack ;
54use Binarcode \LaravelDeveloper \Profiling \ServerMemory ;
65use Binarcode \LaravelDeveloper \Profiling \ServerTiming ;
Original file line number Diff line number Diff line change 22
33namespace Binarcode \LaravelDeveloper \Tests \Helpers ;
44
5- use Binarcode \LaravelDeveloper \LaravelDeveloper ;
65use Binarcode \LaravelDeveloper \Notifications \DevNotification ;
76use Binarcode \LaravelDeveloper \Notifications \Slack ;
87use Binarcode \LaravelDeveloper \Tests \TestCase ;
You can’t perform that action at this time.
0 commit comments