We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ee28c3 commit c52235dCopy full SHA for c52235d
src/Traits/Features/AlwaysThrowsOnErrors.php
@@ -15,7 +15,7 @@ trait AlwaysThrowsOnErrors
15
*/
16
public function bootAlwaysThrowsOnErrorsFeature()
17
{
18
- if ($this->traitExistsOnConnector(AlwaysThrowsOnErrors::class)) {
+ if ($this instanceof SaloonRequest && $this->traitExistsOnConnector(AlwaysThrowsOnErrors::class)) {
19
return;
20
}
21
0 commit comments