@@ -26,7 +26,7 @@ |
||
26 | 26 | /** |
27 | 27 | * Records an Exception to the database |
28 | 28 | * @param Exception $e The exception you want to record |
29 | - * @return Tylercd100\LERN\Models\ExceptionModel |
|
29 | + * @return ExceptionModel |
|
30 | 30 | */ |
31 | 31 | public function record(Exception $e) |
32 | 32 | { |
@@ -3,11 +3,11 @@ |
||
3 | 3 | namespace Tylercd100\LERN\Components; |
4 | 4 | |
5 | 5 | use Exception; |
6 | -use Tylercd100\LERN\Models\ExceptionModel; |
|
7 | -use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; |
|
8 | 6 | use Illuminate\Support\Facades\Auth; |
9 | -use Illuminate\Support\Facades\Request; |
|
10 | 7 | use Illuminate\Support\Facades\Input; |
8 | +use Illuminate\Support\Facades\Request; |
|
9 | +use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; |
|
10 | +use Tylercd100\LERN\Models\ExceptionModel; |
|
11 | 11 | |
12 | 12 | class Recorder { |
13 | 13 |
@@ -81,7 +81,7 @@ |
||
81 | 81 | /** |
82 | 82 | * Pushes on another Monolog Handler |
83 | 83 | * @param HandlerInterface $handler The handler instance to add on |
84 | - * @return Notifier Returns this |
|
84 | + * @return LERN Returns this |
|
85 | 85 | */ |
86 | 86 | public function pushHandler(HandlerInterface $handler) { |
87 | 87 | $this->notifier->pushHandler($handler); |
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace Tylercd100\LERN; |
4 | 4 | |
5 | 5 | use Exception; |
6 | +use Monolog\Handler\HandlerInterface; |
|
6 | 7 | use Tylercd100\LERN\Components\Notifier; |
7 | 8 | use Tylercd100\LERN\Components\Recorder; |
8 | -use Monolog\Handler\HandlerInterface; |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * The master class |