From 3af0ece47c79b103cfe42319189e0583976f49e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Tue, 3 Jun 2025 10:49:59 +0200 Subject: [PATCH] Added missing return type --- .../limitation/src/Security/Limitation/CustomLimitationType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_samples/back_office/limitation/src/Security/Limitation/CustomLimitationType.php b/code_samples/back_office/limitation/src/Security/Limitation/CustomLimitationType.php index acb7c5f9df..06030e605a 100644 --- a/code_samples/back_office/limitation/src/Security/Limitation/CustomLimitationType.php +++ b/code_samples/back_office/limitation/src/Security/Limitation/CustomLimitationType.php @@ -76,7 +76,7 @@ public function getCriterion(Limitation $value, UserReference $currentUser): Cri throw new NotImplementedException(__METHOD__); } - public function valueSchema() + public function valueSchema(): never { throw new NotImplementedException(__METHOD__); }