mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Code style
This commit is contained in:
parent
723e40840e
commit
cf86b16199
@ -1061,19 +1061,19 @@ function str_split(string $string, int $length = 1) {}
|
||||
* @psalm-pure
|
||||
* @return ($needle is '' ? true : ($haystack is '' ? false : bool))
|
||||
*/
|
||||
function str_starts_with(string $haystack, string $needle): bool
|
||||
function str_starts_with(string $haystack, string $needle): bool {}
|
||||
|
||||
/**
|
||||
* @psalm-pure
|
||||
* @return ($needle is '' ? true : ($haystack is '' ? false : bool))
|
||||
*/
|
||||
function str_ends_with(string $haystack, string $needle): bool
|
||||
function str_ends_with(string $haystack, string $needle): bool {}
|
||||
|
||||
/**
|
||||
* @psalm-pure
|
||||
* @return ($needle is '' ? true : ($haystack is '' ? false : bool))
|
||||
*/
|
||||
function str_contains(string $haystack, string $needle): bool
|
||||
function str_contains(string $haystack, string $needle): bool {}
|
||||
|
||||
/**
|
||||
* @psalm-pure
|
||||
|
Loading…
x
Reference in New Issue
Block a user