Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Apr 20, 2024
1 parent 7e0c815 commit 3ca0fbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MyAction extends Action
}
```

## Main logic
## Main method

Use the `main` method to determine your action's main logic. Use **attributes** from [chevere/parameter](https://github.com/chevere/parameter) on arguments and method return to add validation rules.

Expand Down
2 changes: 1 addition & 1 deletion packages/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ bind(

## Route

Route is the building block for Router, on its most elemental representation it defines a path that will be routed to a HTTP endpoint. In the example below, the [run method](https://chevere.org/packages/action#main-logic) of `WebGetController` will be executed when resolving requests to `GET /`, after passing `CorsMiddleware`.
Route is the building block for Router, on its most elemental representation it defines a path that will be routed to a HTTP endpoint. In the example below, the [main method](https://chevere.org/packages/action#main-method) of `WebGetController` will be executed when resolving requests to `GET /`, after passing `CorsMiddleware`.

```php
use function Chevere\Router\route;
Expand Down

0 comments on commit 3ca0fbb

Please sign in to comment.