From ce058b6a3d44bdbbbb81b16208465bdc32122399 Mon Sep 17 00:00:00 2001 From: Nate Iler Date: Tue, 26 Nov 2019 12:54:45 -0700 Subject: [PATCH] default null error code --- src/actions/CheckAccessTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/CheckAccessTrait.php b/src/actions/CheckAccessTrait.php index ec90ce6..392b6d4 100644 --- a/src/actions/CheckAccessTrait.php +++ b/src/actions/CheckAccessTrait.php @@ -84,7 +84,7 @@ protected function handleUnauthorizedResponse() */ protected function errorCodeForbidden() { - return $this->errorCodeForbidden; + return $this->errorCodeForbidden ?? null; } /**