Skip to content

Commit

Permalink
Apply (#609) [yiisoft/demo#609] to InvController
Browse files Browse the repository at this point in the history
RouteArgument replaces CurrentRoute

eg.

````
/**
 * @param int $id
 */
    public function delete(#[RouteArgument('id')] int $id
````

replaces

````
public function delete(CurrentRoute $currentRoute) : Response
 {

$id = $currentRoute->getArgument('id');
````
  • Loading branch information
rossaddison committed Apr 14, 2024
1 parent 2ea34e5 commit 26197f0
Showing 1 changed file with 182 additions and 205 deletions.
Loading

0 comments on commit 26197f0

Please sign in to comment.