aboutsummaryrefslogtreecommitdiff
path: root/lib/helpers.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-09-27 11:50:34 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2024-09-27 11:50:34 +0000
commit5f78b312c8ad82f91148d6bfe79c614651736161 (patch)
tree43b1092303c8fd99a1cf1c1493da567bf8119eed /lib/helpers.php
parent48ea0fdedeaa4b75e113a521d63682fed3881c4e (diff)
fix errors found through static code analysis, fixes #4562
Closes #4562 Merge request studip/studip!3375
Diffstat (limited to 'lib/helpers.php')
-rw-r--r--lib/helpers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers.php b/lib/helpers.php
index a44f10b..bffed4a 100644
--- a/lib/helpers.php
+++ b/lib/helpers.php
@@ -15,7 +15,7 @@ use Psr\Container\ContainerInterface;
* $logger = app(LoggerInterface::class);
* ```
* @template T
- * @param class-string<T>|string|null $entryId entry name or a class name
+ * @param T|class-string<T>|string|null $entryId entry name or a class name
* @param array $parameters Optional parameters to use to build the entry.
* Use this to force specific parameters to specific values.
* Parameters not defined in this array will be resolved using the container.