From 6d8169bc2275c6d3265532ff4c7c9c09dd3eb6c2 Mon Sep 17 00:00:00 2001 From: Cosmin Magureanu Date: Sun, 28 Apr 2019 09:22:07 +0300 Subject: [PATCH] Exception misspell InvalidOptionsException instead of InvalidOptionException --- src/Message/OptionsBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Message/OptionsBuilder.php b/src/Message/OptionsBuilder.php index d26e34302..bee2f2dea 100644 --- a/src/Message/OptionsBuilder.php +++ b/src/Message/OptionsBuilder.php @@ -160,12 +160,12 @@ public function setDelayWhileIdle($delayWhileIdle) * * @return \LaravelFCM\Message\OptionsBuilder * - * @throws InvalidOptionException + * @throws InvalidOptionsException */ public function setTimeToLive($timeToLive) { if ($timeToLive < 0 || $timeToLive > 2419200) { - throw new InvalidOptionException("time to live must be between 0 and 2419200, current value is: {$timeToLive}"); + throw new InvalidOptionsException("time to live must be between 0 and 2419200, current value is: {$timeToLive}"); } $this->timeToLive = $timeToLive;