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 May 20, 2024
1 parent 181981a commit 5bc57b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/Controllers/SmsLogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

namespace Laraflow\Sms\Controllers;


use Carbon\CarbonImmutable;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;

Expand Down Expand Up @@ -52,7 +50,7 @@ public function index(Request $request)
$current = $request->has('date') ? $this->entries->get($request->input('date')) : $this->entries->first();

if (!$current) {
throw (new ModelNotFoundException)->setModel('SmsLog', $request->input('date', now()->format('Y-m-d')));
throw (new ModelNotFoundException())->setModel('SmsLog', $request->input('date', now()->format('Y-m-d')));
}

$current['logs'] = $this->parseFileContent($current['file']);
Expand Down
2 changes: 1 addition & 1 deletion src/SmsMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ public function vendor($name = null): self

public function send()
{

}
}

0 comments on commit 5bc57b8

Please sign in to comment.