Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioGattolla authored and github-actions[bot] committed Dec 16, 2024
1 parent 12b453f commit 93f293c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Concerns/SendsAttachments.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
namespace DefStudio\Telegraph\Concerns;

use DefStudio\Telegraph\DTO\Attachment;
use DefStudio\Telegraph\DTO\Location;
use DefStudio\Telegraph\Exceptions\FileException;
use DefStudio\Telegraph\ScopedPayloads\TelegraphEditMediaPayload;
use DefStudio\Telegraph\Telegraph;
Expand Down
2 changes: 1 addition & 1 deletion src/Models/TelegraphChat.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function sticker(string $path, string $filename = null): Telegraph

public function venue(float $latitude, float $longitude, string $title, string $address): Telegraph
{
return TelegraphFacade::chat($this)->venue( $latitude, $longitude, $title, $address);
return TelegraphFacade::chat($this)->venue($latitude, $longitude, $title, $address);
}

public function animation(string $path, string $filename = null): Telegraph
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/DTO/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
'horizontal_accuracy' => 3,
],
'title' => 'test title',
'address' => 'test address'
'address' => 'test address',
],
'contact' => [
'phone_number' => '123456789',
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/DTO/VenueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

/** @noinspection PhpUnhandledExceptionInspection */

use DefStudio\Telegraph\DTO\Sticker;
use DefStudio\Telegraph\DTO\Venue;
use Illuminate\Support\Str;

Expand Down

0 comments on commit 93f293c

Please sign in to comment.