mirror of
https://github.com/YGGverse/next.git
synced 2025-03-13 06:01:14 +00:00
enforce replacements data type
This commit is contained in:
parent
5a67328a00
commit
c8bd899811
12
src/nex.php
12
src/nex.php
@ -276,12 +276,12 @@ $server->start(
|
|||||||
'{goal}',
|
'{goal}',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
date('c'),
|
(string) date('c'),
|
||||||
(int) !empty($response),
|
(string) (int) !empty($response),
|
||||||
parse_url($connect, PHP_URL_HOST),
|
(string) parse_url($connect, PHP_URL_HOST),
|
||||||
parse_url($connect, PHP_URL_PORT),
|
(string) parse_url($connect, PHP_URL_PORT),
|
||||||
str_replace('%', '%%', empty($request) ? '/' : trim($request)),
|
(string) str_replace('%', '%%', empty($request) ? '/' : trim($request)),
|
||||||
str_replace('%', '%%', $goal)
|
(string) str_replace('%', '%%', $goal)
|
||||||
],
|
],
|
||||||
NEXT_DUMP
|
NEXT_DUMP
|
||||||
) . PHP_EOL
|
) . PHP_EOL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user