FooterActions method not present in Filament\Forms\Components\Section;

For some reason, I have no footerActions method inside this class. According to the docs, this should be correct:
use Filament\Forms\Components\Section;

  Section::make('Moderate Request')
                    ->footerActions([
                        Action::make('test')
                            ->action(function () {
                                // ...
                            }),
                    ]) 

Which already gives me the following error:

Method Filament\Forms\Components\Section::footerActions does not exist.
The docs clearly state to add this use use Filament\Forms\Components\Section;

https://filamentphp.com/docs/3.x/forms/layout/section#adding-actions-to-the-sections-footer

I checked the Section class but there is no function regarding footerActions there. Are the docs outdated in this regard, or what's happening here? 🤔
Was this page helpful?