diff --git a/src/Taxus.php b/src/Taxus.php index ba438f7..4c43f77 100644 --- a/src/Taxus.php +++ b/src/Taxus.php @@ -44,7 +44,12 @@ class Taxus return $this; } - public function granted($name, ...$arguments) : bool + /** + * @param $name + * @param ...$arguments + * @return bool|null Return TRUE if granted, FALSE if not and NULL if this call should be skipped + */ + public function granted($name, ...$arguments) : null|bool { $name = $name instanceof \BackedEnum ? $name->value : $name;