@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | * Creates a handler for a specified driver |
| 14 | 14 | * @param string $driver Lowercase driver string that is also in the config/lern.php file |
| 15 | 15 | * @param array $subject Title or Subject line for the notification |
| 16 | - * @return Monolog\Handler\HandlerInterface A handler to use with a Monolog\Logger instance |
|
| 16 | + * @return \Monolog\Handler\HandlerInterface A handler to use with a Monolog\Logger instance |
|
| 17 | 17 | */ |
| 18 | 18 | public function create($driver,$subject = null) |
| 19 | 19 | { |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * Creates Pushover Monolog Handler |
| 27 | 27 | * @param array $subject Title or Subject line for the notification |
| 28 | - * @return PushoverHandler A handler to use with a Monolog\Logger instance |
|
| 28 | + * @return \Monolog\Handler\PushoverHandler A handler to use with a Monolog\Logger instance |
|
| 29 | 29 | */ |
| 30 | 30 | protected function pushover($subject) |
| 31 | 31 | { |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * Creates Mail Monolog Handler |
| 43 | 43 | * @param array $subject Title or Subject line for the notification |
| 44 | - * @return NativeMailerHandler A handler to use with a Monolog\Logger instance |
|
| 44 | + * @return \Monolog\Handler\NativeMailerHandler A handler to use with a Monolog\Logger instance |
|
| 45 | 45 | */ |
| 46 | 46 | protected function mail($subject) |
| 47 | 47 | { |
@@ -55,8 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Creates Slack Monolog Handler |
| 58 | - * @param array $subject Title or Subject line for the notification |
|
| 59 | - * @return SlackHandler A handler to use with a Monolog\Logger instance |
|
| 58 | + * @return \Monolog\Handler\SlackHandler A handler to use with a Monolog\Logger instance |
|
| 60 | 59 | */ |
| 61 | 60 | protected function slack() |
| 62 | 61 | { |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Illuminate\Database\Schema\Blueprint; |
|
| 4 | 3 | use Illuminate\Database\Migrations\Migration; |
| 4 | +use Illuminate\Database\Schema\Blueprint; |
|
| 5 | 5 | |
| 6 | 6 | class CreateLERNTables extends Migration { |
| 7 | 7 | |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Tylercd100\LERN; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | -use Tylercd100\LERN\Facades\LERN; |
|
| 7 | 6 | use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |
| 7 | +use Tylercd100\LERN\Facades\LERN; |
|
| 8 | 8 | |
| 9 | 9 | class Handler extends ExceptionHandler { |
| 10 | 10 | |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Tylercd100\LERN\Notifications; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | -use Monolog\Logger; |
|
| 7 | 6 | use Monolog\Handler\HandlerInterface; |
| 7 | +use Monolog\Logger; |
|
| 8 | 8 | use Tylercd100\LERN\Notifications\MonologHandlerFactory; |
| 9 | 9 | |
| 10 | 10 | class Notifier { |