Default was never returned. If no IP was found it returns NULL.
While unit testing I found that providing a default IP address to Request::ip() returns NULL in a CLI environment.
Showing
Please
register
or
sign in
to comment
While unit testing I found that providing a default IP address to Request::ip() returns NULL in a CLI environment.