Skip to content
This repository has been archived by the owner on Oct 27, 2019. It is now read-only.

Update Sender.php #2

Merged
merged 2 commits into from
Jul 26, 2013
Merged

Update Sender.php #2

merged 2 commits into from
Jul 26, 2013

Conversation

Charl13
Copy link
Contributor

@Charl13 Charl13 commented Jul 24, 2013

The \InvalidArgumentException should be thrown on empty($registrationId) instead of is_null($registrationId) because a empty variable is not valid as $registrationId.

The \InvalidArgumentException should be thrown on empty($registrationId) instead of is_null($registrationId) because a empty variable is not valid as $registrationId.
@lkorth
Copy link
Owner

lkorth commented Jul 25, 2013

Could you also change the thrown exception's message to match this change?

Updated Exception message to match exception
@Charl13
Copy link
Contributor Author

Charl13 commented Jul 26, 2013

Ofcource, should be fine now :-)

lkorth added a commit that referenced this pull request Jul 26, 2013
@lkorth lkorth merged commit a24e417 into lkorth:master Jul 26, 2013
@lkorth
Copy link
Owner

lkorth commented Jul 26, 2013

Awesome, thanks!

@Charl13 Charl13 deleted the patch-1 branch September 5, 2013 19:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants