diff --git a/src/services/SlackService.php b/src/services/SlackService.php index 9286195..e3d1baf 100644 --- a/src/services/SlackService.php +++ b/src/services/SlackService.php @@ -44,7 +44,7 @@ class SlackService extends Component * * @return mixed */ - public function sendNotification(\Exception $exception) + public function sendNotification($exception) { $name = $_SERVER['HTTP_HOST']; $user = \Yii::$app->user->identity;