diff --git a/src/Illuminate/Support/helpers.php b/src/Illuminate/Support/helpers.php index ca7fae7c5aaf..11348fa4f296 100755 --- a/src/Illuminate/Support/helpers.php +++ b/src/Illuminate/Support/helpers.php @@ -317,7 +317,7 @@ function tap($value, $callback = null) * @template TException of \Throwable * * @param mixed $condition - * @param TException|class-string $exception + * @param TException|class-string|string $exception * @param mixed ...$parameters * @return mixed * @@ -344,7 +344,7 @@ function throw_if($condition, $exception = 'RuntimeException', ...$parameters) * @template TException of \Throwable * * @param mixed $condition - * @param TException|class-string $exception + * @param TException|class-string|string $exception * @param mixed ...$parameters * @return mixed *