This repository was archived by the owner on Jan 9, 2025. It is now read-only.
Tags: tnapf/Router
Tags
several modifications, see description - fixed docblocks - removed unnecessary `&` from `addRoute(Route &$route)` because object parameters are always passed as reference - replaced self-references with `self::` - replaced `array_merge` with spread operator - replaced `boolval()` with `(bool)` typecast - made anonymous functions static - replaced `in_array()` with `array_key_exists()` - removed unnecessary `EMIT_EMPTY_RESPONSE` in match as its value was the same as the default arm
PreviousNext