summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-01 20:36:48 +0000
committerwn_ <[email protected]>2021-11-01 21:10:27 +0000
commit9dac9c5a0db520697794c00d29424e617aca55bd (patch)
tree794c4d573faf76ab13b8ec55b3cdcc35a3b0d15b /include
parentac5a4f5937d2d763b6293d3db644c9f30aa704b6 (diff)
Address PHPStan warnings in 'classes/urlhelper.php'.
Intentionally skipping the line 66 one for now; adding an 'is_array' check clears the warning, but there's a larger topic of how to handle an invalid '' that doesn't result in an array. ------ --------------------------------------------------------------------- Line classes/urlhelper.php ------ --------------------------------------------------------------------- 66 Offset 'path' on array{scheme: string} in isset() does not exist. 165 Parameter #2 $associative of function get_headers expects bool, int given. 167 Parameter #2 $associative of function get_headers expects bool, int given. 278 Negated boolean expression is always true. 309 Negated boolean expression is always true. ------ ---------------------------------------------------------------------
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions