Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Fix exception namespace and PHPDoc #39

Merged
merged 1 commit into from Jul 29, 2019
Merged

Fix exception namespace and PHPDoc #39

merged 1 commit into from Jul 29, 2019

Conversation

mpesari
Copy link
Contributor

@mpesari mpesari commented Jul 16, 2019

Throwable was using incorrect namespace which caused all other exceptions than RequestException to fall through it, rather than being caught. This could lead to a situation where send() would throw other exceptions than documented in the PHPDoc block.

The PHPDoc block claimed that send() would throw \LogicException. It was fixed to say \RuntimeException.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 79.173% when pulling ce76fab on mpesari:fix-exception-namespace into b7c55c8 on klarna:v4.x.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 79.173% when pulling ce76fab on mpesari:fix-exception-namespace into b7c55c8 on klarna:v4.x.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 79.173% when pulling ce76fab on mpesari:fix-exception-namespace into b7c55c8 on klarna:v4.x.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 79.173% when pulling ce76fab on mpesari:fix-exception-namespace into b7c55c8 on klarna:v4.x.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 79.173% when pulling ce76fab on mpesari:fix-exception-namespace into b7c55c8 on klarna:v4.x.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants