#107929Fix PHP 8.4 warning in widget example code
Description
> Cannot use null as default value for parameter $buttonProvider of type …\ButtonProviderInterface
This issue was automatically created from https://github.com/TYPO3/typo3/pull/604
> Cannot use null as default value for parameter $buttonProvider of type …\ButtonProviderInterface
This issue was automatically created from https://github.com/TYPO3/typo3/pull/604