Skip to content

Commit 026e18b

Browse files
committed
style: use multiline
1 parent 1299783 commit 026e18b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

tests/support/Traits/SwaggerServiceMockTrait.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,31 @@ protected function mockDriverGetPreparedAndSaveTmpData(
3434
$driverClass = LocalDriver::class
3535
): void {
3636
$this->mockClass($driverClass, [
37-
$this->functionCall('getProcessTmpData', $getTmpData),
37+
$this->functionCall(
38+
name: 'getProcessTmpData',
39+
result: $getTmpData
40+
),
3841
$this->functionCall('saveProcessTmpData', [$saveTmpData]),
3942
]);
4043
}
4144

4245
protected function mockDriverGetTmpData($tmpData, $driverClass = LocalDriver::class): void
4346
{
4447
$this->mockClass($driverClass, [
45-
$this->functionCall('getProcessTmpData', $tmpData),
48+
$this->functionCall(
49+
name: 'getProcessTmpData',
50+
result: $tmpData
51+
),
4652
]);
4753
}
4854

4955
protected function mockDriverGetDocumentation($data, $driverClass = LocalDriver::class): void
5056
{
5157
$this->mockClass($driverClass, [
52-
$this->functionCall('getDocumentation', $data),
58+
$this->functionCall(
59+
name: 'getDocumentation',
60+
result: $data
61+
),
5362
]);
5463
}
5564

0 commit comments

Comments
 (0)