Skip to content

Commit

Permalink
fix: remove redundant handler
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jan 28, 2025
1 parent 06f232c commit 2229774
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
22 changes: 0 additions & 22 deletions src/Exceptions/NotFoundHandler.php

This file was deleted.

3 changes: 0 additions & 3 deletions src/Providers/BlogCoreServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace CSlant\Blog\Core\Providers;

use CSlant\Blog\Core\Exceptions\NotFoundHandler;
use Illuminate\Contracts\Debug\ExceptionHandler;
use Illuminate\Support\ServiceProvider;

class BlogCoreServiceProvider extends ServiceProvider
Expand All @@ -27,7 +25,6 @@ public function boot(): void
*/
public function register(): void
{
$this->app->singleton(ExceptionHandler::class, NotFoundHandler::class);
$this->registerConfigs();

$this->registerCommands();
Expand Down

0 comments on commit 2229774

Please sign in to comment.