Skip to content

Commit

Permalink
change typing and import
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandraKozubal committed Feb 1, 2024
1 parent ad5711e commit 3487ca6
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 201 deletions.
3 changes: 2 additions & 1 deletion app/Http/Controllers/Admin/ProviderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use Illuminate\Support\Facades\Storage;
use Inertia\Inertia;
use Inertia\Response;
use Illuminate\Http\Response as InertiaResponse;

class ProviderController extends Controller
{
Expand Down Expand Up @@ -63,7 +64,7 @@ public function destroy(Provider $provider): void
File::delete($imagePath);
}

public function showLogo(string $filename): \Illuminate\Http\Response
public function showLogo(string $filename): InertiaResponse
{
$imagePath = storage_path("app/public/providers/" . $filename);

Expand Down
Loading

0 comments on commit 3487ca6

Please sign in to comment.