mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2025-01-22 21:31:21 +01:00
fix: abort_if only never returns if boolean is true
This commit is contained in:
parent
d07614615b
commit
8fad1256f3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user