From 0742d5150cabc760a052473843d773e9fc472051 Mon Sep 17 00:00:00 2001 From: filecage Date: Wed, 13 Mar 2019 10:08:57 +0100 Subject: [PATCH] explicit is better than implicit :) --- src/Grant/AbstractGrant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grant/AbstractGrant.php b/src/Grant/AbstractGrant.php index 90c75d51..45269ac7 100644 --- a/src/Grant/AbstractGrant.php +++ b/src/Grant/AbstractGrant.php @@ -478,7 +478,7 @@ abstract class AbstractGrant implements GrantTypeInterface { $refreshToken = $this->refreshTokenRepository->getNewRefreshToken(); if ($refreshToken === null) { - return; + return null; } $refreshToken->setExpiryDateTime((new DateTime())->add($this->refreshTokenTTL));