Skip to content

Commit

Permalink
Incorrect return type
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Nov 8, 2021
1 parent 4e06ec1 commit a76267e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Http/Controllers/PublicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace TypiCMS\Modules\Sitemap\Http\Controllers;

use Illuminate\Http\Response;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Str;
Expand All @@ -11,7 +10,7 @@

class PublicController extends Controller
{
public function generate(): Response
public function generate()
{
// create new sitemap object
$sitemap = app('sitemap');
Expand Down

0 comments on commit a76267e

Please sign in to comment.