Skip to content

Commit

Permalink
Remove confusing example
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Dec 1, 2024
1 parent 68e8402 commit 0268ee0
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,6 @@ The following methods have been renamed to improve clarity and consistency:

Example migration:

```php
// Before
if ($dialog->isStart()) {
$dialog->proceed();
if ($dialog->isEnd()) {
$dialog->end();
}
}

// After
if ($dialog->isAtStart()) {
$dialog->performStep();
if ($dialog->isCompleted()) {
$dialog->complete();
}
}
```

### Configuration Changes

If you use configured steps (as an array), the structure has changed:
Expand Down

0 comments on commit 0268ee0

Please sign in to comment.