Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/1-essentials/01-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ When users submit forms—like updating profile settings, or posting comments—
On validation failure, Tempest either redirects back to the form (for web pages) or returns a 422 response (for stateless requests). Validation errors are available in two places:

- As a JSON encoded string in the `{txt}X-Validation` header
- Through the `b{Tempest\Http\Session\FormSession}` class
- Through the {b`Tempest\Http\Session\FormSession`} class

For web pages, Tempest also provides built-in view components to display errors when they occur.

Expand Down
2 changes: 1 addition & 1 deletion docs/2-features/08-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ final readonly class EventLoggerMiddleware implements EventBusMiddleware

## Stopping event propagation

In rare cases you might want an event only to be handled by a single handler. You can use the `b{Tempest\EventBus\StopsPropagation}` attribute on both events and event handlers to achieve this:
In rare cases you might want an event only to be handled by a single handler. You can use the {b`Tempest\EventBus\StopsPropagation`} attribute on both events and event handlers to achieve this:

```php
use Tempest\EventBus\StopsPropagation;
Expand Down