| @@ -5,8 +5,8 @@ | ||
| 5 | 5 | use Exception; | 
| 6 | 6 | use Monolog\Handler\HandlerInterface; | 
| 7 | 7 | use Monolog\Logger; | 
| 8 | -use Tylercd100\LERN\Factories\MonologHandlerFactory; | |
| 9 | 8 | use Tylercd100\LERN\Exceptions\NotifierFailedException; | 
| 9 | +use Tylercd100\LERN\Factories\MonologHandlerFactory; | |
| 10 | 10 | |
| 11 | 11 |  class Notifier extends Component { | 
| 12 | 12 | protected $config; | 
| @@ -86,8 +86,9 @@ | ||
| 86 | 86 | case 'data': | 
| 87 | 87 | return $this->getData(); | 
| 88 | 88 | case 'status_code': | 
| 89 | - if($e===null) | |
| 90 | - return 0; | |
| 89 | +                if($e===null) { | |
| 90 | + return 0; | |
| 91 | + } | |
| 91 | 92 | return $this->getStatusCode($e); | 
| 92 | 93 | default: | 
| 93 | 94 |                  throw new Exception("{$key} is not supported! Therefore it cannot be collected!"); |