[TESTS] Add tests of Common and fix small oddities that pop up

This commit is contained in:
2021-04-10 00:27:19 +00:00
parent b387ea9aa0
commit dc2a453e94
4 changed files with 116 additions and 54 deletions

View File

@@ -72,6 +72,7 @@ abstract class Router
return self::$url_gen->generate($id, $args, $type);
}
/** function match($url) throws Symfony\Component\Routing\Exception\ResourceNotFoundException */
public static function __callStatic(string $name, array $args)
{
return self::$router->{$name}(...$args);