diff --git a/src/Controllers/SmsLogController.php b/src/Controllers/SmsLogController.php index dd68f76..9e40a6d 100644 --- a/src/Controllers/SmsLogController.php +++ b/src/Controllers/SmsLogController.php @@ -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; @@ -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']); diff --git a/src/SmsMessage.php b/src/SmsMessage.php index 4bff33a..6b8f6a4 100644 --- a/src/SmsMessage.php +++ b/src/SmsMessage.php @@ -76,6 +76,6 @@ public function vendor($name = null): self public function send() { - + } }