| @@ -41,7 +41,7 @@ | ||
| 41 | 41 |          if (is_callable($cb)) {
 | 
| 42 | 42 | return $cb; | 
| 43 | 43 |          } else {
 | 
| 44 | -            return function () use ($cb) { return $cb; };
 | |
| 44 | +            return function() use ($cb) { return $cb; };
 | |
| 45 | 45 | } | 
| 46 | 46 | } | 
| 47 | 47 | |
| @@ -2,14 +2,14 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Tylercd100\LERN\Components; | 
| 4 | 4 | |
| 5 | -use Auth; | |
| 6 | -use Exception; | |
| 7 | -use Illuminate\Support\Facades\Input; | |
| 8 | -use Monolog\Handler\HandlerInterface; | |
| 9 | -use Monolog\Logger; | |
| 10 | -use Request; | |
| 11 | -use Tylercd100\LERN\Exceptions\NotifierFailedException; | |
| 12 | -use Tylercd100\Notify\Drivers\FromConfig as Notify; | |
| 5 | +use Auth; | |
| 6 | +use Exception; | |
| 7 | +use Illuminate\Support\Facades\Input; | |
| 8 | +use Monolog\Handler\HandlerInterface; | |
| 9 | +use Monolog\Logger; | |
| 10 | +use Request; | |
| 11 | +use Tylercd100\LERN\Exceptions\NotifierFailedException; | |
| 12 | +use Tylercd100\Notify\Drivers\FromConfig as Notify; | |
| 13 | 13 | use View; | 
| 14 | 14 | |
| 15 | 15 | class Notifier extends Component | 
| @@ -194,7 +194,7 @@ | ||
| 194 | 194 | /** | 
| 195 | 195 | * Set the log level | 
| 196 | 196 | * @param string $level The log level | 
| 197 | - * @return \Tylercd100\LERN\LERN | |
| 197 | + * @return Notifier | |
| 198 | 198 | */ | 
| 199 | 199 | public function setLogLevel($level) | 
| 200 | 200 |      {
 | 
| @@ -12,7 +12,7 @@ | ||
| 12 | 12 | |
| 13 | 13 | $this->handleDeprecatedConfigValues(); | 
| 14 | 14 | |
| 15 | -        $this->app->singleton('lern', function () { | |
| 15 | +        $this->app->singleton('lern', function() { | |
| 16 | 16 | return new LERN; | 
| 17 | 17 | }); | 
| 18 | 18 | } | 
| @@ -2,12 +2,12 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Tylercd100\LERN\Components; | 
| 4 | 4 | |
| 5 | -use Exception; | |
| 6 | -use Illuminate\Support\Facades\Auth; | |
| 7 | -use Illuminate\Support\Facades\Input; | |
| 8 | -use Illuminate\Support\Facades\Request; | |
| 9 | -use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; | |
| 10 | -use Tylercd100\LERN\Exceptions\RecorderFailedException; | |
| 5 | +use Exception; | |
| 6 | +use Illuminate\Support\Facades\Auth; | |
| 7 | +use Illuminate\Support\Facades\Input; | |
| 8 | +use Illuminate\Support\Facades\Request; | |
| 9 | +use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; | |
| 10 | +use Tylercd100\LERN\Exceptions\RecorderFailedException; | |
| 11 | 11 | use Tylercd100\LERN\Models\ExceptionModel; | 
| 12 | 12 | |
| 13 | 13 |  class Recorder extends Component {
 | 
| @@ -61,7 +61,7 @@ | ||
| 61 | 61 | $class = !empty($class) ? $class : ExceptionModel::class; | 
| 62 | 62 | |
| 63 | 63 | $model = new $class(); | 
| 64 | -            foreach($opts as $key => $value) {
 | |
| 64 | +            foreach ($opts as $key => $value) {
 | |
| 65 | 65 |                  $model->{$key} = $value;
 | 
| 66 | 66 | } | 
| 67 | 67 | |
| @@ -2,11 +2,11 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Tylercd100\LERN; | 
| 4 | 4 | |
| 5 | -use Exception; | |
| 6 | -use Monolog\Handler\HandlerInterface; | |
| 7 | -use Tylercd100\LERN\Components\Notifier; | |
| 8 | -use Tylercd100\LERN\Components\Recorder; | |
| 9 | -use Tylercd100\LERN\Exceptions\NotifierFailedException; | |
| 5 | +use Exception; | |
| 6 | +use Monolog\Handler\HandlerInterface; | |
| 7 | +use Tylercd100\LERN\Components\Notifier; | |
| 8 | +use Tylercd100\LERN\Components\Recorder; | |
| 9 | +use Tylercd100\LERN\Exceptions\NotifierFailedException; | |
| 10 | 10 | use Tylercd100\LERN\Exceptions\RecorderFailedException; | 
| 11 | 11 | |
| 12 | 12 | /** |