diff --git a/src/Helper/LabelCallback.php b/src/Helper/LabelCallback.php index 04be405..db6d5c1 100644 --- a/src/Helper/LabelCallback.php +++ b/src/Helper/LabelCallback.php @@ -53,9 +53,11 @@ public static function createAndRegister(string $table, callable $callback): sel } /** + * @param callable|array $callback + * * @return mixed */ - private function executeCallback(callable $callback, array $args) + private function executeCallback($callback, array $args) { // Support Contao's getInstance() method when callback is an array if (\is_array($callback)) {