Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit cdeb561

Browse files
authored
Merge pull request brozot#143 from hsharghi/master
Fixed wrong exception class name thrown
2 parents 85512af + 62f93c1 commit cdeb561

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Message/OptionsBuilder.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public function setCollapseKey($collapseKey)
9393
* @return \LaravelFCM\Message\OptionsBuilder
9494
*
9595
* @throws InvalidOptionsException
96+
* @throws \ReflectionException
9697
*/
9798
public function setPriority($priority)
9899
{
@@ -309,6 +310,8 @@ final class OptionsPriorities
309310

310311
/**
311312
* @return array priorities available in fcm
313+
*
314+
* @throws \ReflectionException
312315
*/
313316
public static function getPriorities()
314317
{
@@ -323,6 +326,8 @@ public static function getPriorities()
323326
* @param $priority
324327
*
325328
* @return bool
329+
*
330+
* @throws \ReflectionException
326331
*/
327332
public static function isValid($priority)
328333
{

0 commit comments

Comments
 (0)