fix: abort_if only never returns if boolean is true

This commit is contained in:
fiachra mcdermott 2021-06-23 07:16:47 -04:00
parent d07614615b
commit 8fad1256f3

View File

@ -44,7 +44,7 @@ function response($content = '', $status = 200, array $headers = [])
*
* @param bool $boolean
* @psalm-assert falsy $boolean
* @psalm-return never-return
* @psalm-return ($boolean is false ? never-return : void )
* @param int $code
* @param string $message
* @param array $headers