From fbc73c1067d74a53a481cd05d21e54557619a0a5 Mon Sep 17 00:00:00 2001 From: Tom Witkowski Date: Mon, 16 Jan 2017 09:19:14 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Notifynder/Traits/SenderCallback.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Notifynder/Traits/SenderCallback.php b/src/Notifynder/Traits/SenderCallback.php index 8228769..d31c673 100644 --- a/src/Notifynder/Traits/SenderCallback.php +++ b/src/Notifynder/Traits/SenderCallback.php @@ -1,6 +1,6 @@ getCallback(get_called_class()); - if(!is_callable($callback)) { + if (! is_callable($callback)) { throw new \UnexpectedValueException("The callback isn't callable."); } + return $callback; } -} \ No newline at end of file +}