Skip to content

Commit

Permalink
default null error code
Browse files Browse the repository at this point in the history
  • Loading branch information
nateiler committed Nov 26, 2019
1 parent 3ad41f7 commit ce058b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/CheckAccessTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected function handleUnauthorizedResponse()
*/
protected function errorCodeForbidden()
{
return $this->errorCodeForbidden;
return $this->errorCodeForbidden ?? null;
}

/**
Expand Down

0 comments on commit ce058b6

Please sign in to comment.