Skip to content

Conversation

@alex001x
Copy link
Contributor

Improve compatibility with PHP 8.2 at the API level by fixing warnings and edge cases introduced by stricter type handling.

$r['error']=true;
$r['errorcode']=404;
return $response->withJson($r, $r['errorcode']);
}
Copy link
Collaborator

@wilpig wilpig Dec 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand you trying to be helpful, but this little snippet, like some of the others you've added, shortcut the process and cause this function to completely skip the code that would have otherwise run on line 105.

@alex001x alex001x marked this pull request as draft December 31, 2025 14:42
Removed error handling for missing last port in deleteRoutes.
@alex001x alex001x marked this pull request as ready for review December 31, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants