Merge pull request #10714 from SebastianSchoeps/patch-1

Docs for relation manager: Add missing "?"
This commit is contained in:
Dan Harrin
2024-01-09 11:38:03 +00:00
committed by GitHub
@@ -756,7 +756,7 @@ public function table(Table $table): Table
To set the title of the relation manager, you can use the `$title` property on the relation manager class:
```php
protected static string $title = 'Posts';
protected static ?string $title = 'Posts';
```
To set the title of the relation manager dynamically, you can override the `getTitle()` method on the relation manager class: