| @@ -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,17 +2,17 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Tylercd100\LERN\Components; | 
| 4 | 4 | |
| 5 | -use Auth; | |
| 6 | -use Exception; | |
| 7 | -use Illuminate\Support\Facades\Input; | |
| 8 | -use Illuminate\Support\Facades\Cache; | |
| 9 | -use Monolog\Handler\HandlerInterface; | |
| 10 | -use Monolog\Logger; | |
| 11 | -use Request; | |
| 12 | -use Tylercd100\LERN\Exceptions\NotifierFailedException; | |
| 13 | -use Tylercd100\Notify\Drivers\FromConfig as Notify; | |
| 5 | +use Auth; | |
| 6 | +use Carbon\Carbon; | |
| 7 | +use Exception; | |
| 8 | +use Illuminate\Support\Facades\Cache; | |
| 9 | +use Illuminate\Support\Facades\Input; | |
| 10 | +use Monolog\Handler\HandlerInterface; | |
| 11 | +use Monolog\Logger; | |
| 12 | +use Request; | |
| 13 | +use Tylercd100\LERN\Exceptions\NotifierFailedException; | |
| 14 | +use Tylercd100\Notify\Drivers\FromConfig as Notify; | |
| 14 | 15 | use View; | 
| 15 | -use Carbon\Carbon; | |
| 16 | 16 | |
| 17 | 17 | class Notifier extends Component | 
| 18 | 18 |  {
 | 
| @@ -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,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 | /** | 
| @@ -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,15 +2,15 @@ | ||
| 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 Illuminate\Support\Facades\Cache; | |
| 10 | -use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; | |
| 11 | -use Tylercd100\LERN\Exceptions\RecorderFailedException; | |
| 5 | +use Carbon\Carbon; | |
| 6 | +use Exception; | |
| 7 | +use Illuminate\Support\Facades\Auth; | |
| 8 | +use Illuminate\Support\Facades\Cache; | |
| 9 | +use Illuminate\Support\Facades\Input; | |
| 10 | +use Illuminate\Support\Facades\Request; | |
| 11 | +use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; | |
| 12 | +use Tylercd100\LERN\Exceptions\RecorderFailedException; | |
| 12 | 13 | use Tylercd100\LERN\Models\ExceptionModel; | 
| 13 | -use Carbon\Carbon; | |
| 14 | 14 | |
| 15 | 15 |  class Recorder extends Component {
 | 
| 16 | 16 | |
| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Tylercd100\LERN\Components; | 
| 4 | 4 | |
| 5 | +use Carbon\Carbon; | |
| 5 | 6 | use Exception; | 
| 6 | 7 | use Illuminate\Support\Facades\Cache; | 
| 7 | -use Carbon\Carbon; | |
| 8 | 8 | |
| 9 | 9 |  abstract class Component { | 
| 10 | 10 | |