dereuromark / cakephp-ide-helper

IDE Helper plugin for CakePHP
MIT License
186 stars 39 forks source link

4.x: Routes $routes annotation skipping #330

Closed dereuromark closed 1 year ago

dereuromark commented 1 year ago

Addition of

    * @var \Cake\Routing\RouteBuilder $routes

can be skipped in case of new

    return static function (RouteBuilder $routes) {

way

It would only be needed for legacy approach

/**
 * @var \Cake\Routing\RouteBuilder $routes
 */
$routes->setRouteClass(DashedRoute::class);
dereuromark commented 1 year ago

Done in https://github.com/dereuromark/cakephp-ide-helper/commit/dc448c4c4bbb14a95aeda4266803f0dd94eec5b0