Skip to content

Commit 30f9cdf

Browse files
authored
docs: reflect latest migration behaviour in example (#1576)
1 parent 31b6ae3 commit 30f9cdf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/0-getting-started/01-introduction.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@ The benefit of starting from scratch like Tempest did is having a clean slate. T
2626
Just to name a couple of examples, Tempest uses property hooks:
2727

2828
```php
29-
interface DatabaseMigration
29+
interface MigratesUp
3030
{
3131
public string $name {
3232
get;
3333
}
3434

35-
public function up(): ?QueryStatement;
36-
37-
public function down(): ?QueryStatement;
35+
public function up(): QueryStatement;
3836
}
3937
```
4038

0 commit comments

Comments
 (0)