Skip to content

Commit a7206fc

Browse files
committed
avoid a deprecation notice in tests with PHP >= 8.4
1 parent bbbe4ed commit a7206fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/Resources/TemplateRenderingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public function testStepList_stepSkipped() {
269269
* @param array $stepsConfig steps config
270270
* @return MockObject|FormFlow
271271
*/
272-
protected function getFlowStub(array $stubbedMethods = [], array $stepsConfig = null) {
272+
protected function getFlowStub(array $stubbedMethods = [], ?array $stepsConfig = null) {
273273
/* @var $flow MockObject|FormFlow */
274274
$flow = $this->getMockBuilder(FormFlow::class)->onlyMethods(array_merge(['getName', 'loadStepsConfig'], $stubbedMethods))->getMock();
275275

0 commit comments

Comments
 (0)