Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 authored and github-actions[bot] committed Jan 28, 2025
1 parent 77c2725 commit 0bed261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Drivers/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ public function rules(): array
*/
public function send(SmsMessage $message): Response

Check failure on line 37 in src/Drivers/Logger.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Laraflow\Sms\Drivers\Logger::send() has invalid return type Laraflow\Sms\Drivers\Response.

Check failure on line 37 in src/Drivers/Logger.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Laraflow\Sms\Drivers\Logger::send() has invalid return type Laraflow\Sms\Drivers\Response.

Check failure on line 37 in src/Drivers/Logger.php

View workflow job for this annotation

GitHub Actions / phpstan

Return type Laraflow\Sms\Drivers\Response of method Laraflow\Sms\Drivers\Logger::send() is not covariant with return type Illuminate\Http\Client\Response of method Laraflow\Sms\Contracts\SmsDriver::send().
{
return new Response(new class($message) {
return new Response(new class ($message) {

Check failure on line 39 in src/Drivers/Logger.php

View workflow job for this annotation

GitHub Actions / phpstan

Instantiated class Laraflow\Sms\Drivers\Response not found.
public function __construct(public SmsMessage $message)
{

}
public function getStatusCode(): string
{
Expand Down

0 comments on commit 0bed261

Please sign in to comment.