Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #143 from hsharghi/master
Browse files Browse the repository at this point in the history
Fixed wrong exception class name thrown
  • Loading branch information
brozot authored Aug 6, 2019
2 parents 85512af + 62f93c1 commit cdeb561
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Message/OptionsBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public function setCollapseKey($collapseKey)
* @return \LaravelFCM\Message\OptionsBuilder
*
* @throws InvalidOptionsException
* @throws \ReflectionException
*/
public function setPriority($priority)
{
Expand Down Expand Up @@ -309,6 +310,8 @@ final class OptionsPriorities

/**
* @return array priorities available in fcm
*
* @throws \ReflectionException
*/
public static function getPriorities()
{
Expand All @@ -323,6 +326,8 @@ public static function getPriorities()
* @param $priority
*
* @return bool
*
* @throws \ReflectionException
*/
public static function isValid($priority)
{
Expand Down

0 comments on commit cdeb561

Please sign in to comment.