From 7b4cb694f390151f989e90ceefe27f4cbd85d852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=8Carodej?= Date: Tue, 28 Jun 2022 16:33:47 +0200 Subject: [PATCH] return null in default in restriction engine --- .../Users/Restrictions/Engines/DefaultRestrictionsEngine.php | 2 +- .../Restrictions/Engines/FixedBillingRestrictionsEngine.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App/Users/Restrictions/Engines/DefaultRestrictionsEngine.php b/src/App/Users/Restrictions/Engines/DefaultRestrictionsEngine.php index 22f34cf0..e29e903a 100644 --- a/src/App/Users/Restrictions/Engines/DefaultRestrictionsEngine.php +++ b/src/App/Users/Restrictions/Engines/DefaultRestrictionsEngine.php @@ -50,6 +50,6 @@ class DefaultRestrictionsEngine implements RestrictionsEngine public function getRestrictionReason(User $user): string|null { - // TODO: Implement getRestrictionReason() method. + return null; } } diff --git a/src/App/Users/Restrictions/Engines/FixedBillingRestrictionsEngine.php b/src/App/Users/Restrictions/Engines/FixedBillingRestrictionsEngine.php index 1f1549af..feb65aa2 100644 --- a/src/App/Users/Restrictions/Engines/FixedBillingRestrictionsEngine.php +++ b/src/App/Users/Restrictions/Engines/FixedBillingRestrictionsEngine.php @@ -46,6 +46,6 @@ class FixedBillingRestrictionsEngine implements RestrictionsEngine public function getRestrictionReason(User $user): string|null { - // TODO: Implement getRestrictionReason() method. + return null; } }