app/Register/Router.php
Method add_routes
has 119 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function add_routes( CoreRouter $router ) {
$router->set_vendor( 'intraxia' )->set_version( 1 );
$router->group( array( 'prefix' => '/gistpen' ), function ( CoreRouter $router ) {
$search = $this->container->get( \Intraxia\Gistpen\Http\SearchController::class );