Skip to content

Commit 6d5bc89

Browse files
Copilotswissspidy
andcommitted
Add return type hint to generate_diff method
Co-authored-by: swissspidy <[email protected]>
1 parent 348f0c4 commit 6d5bc89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Context/Support.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ protected function check_that_yaml_string_contains_yaml_string( $actual_yaml, $e
315315
* @param string $actual The actual string.
316316
* @return string The unified diff output.
317317
*/
318-
protected function generate_diff( $expected, $actual ) {
318+
protected function generate_diff( $expected, $actual ): string {
319319
$builder = new UnifiedDiffOutputBuilder(
320320
"--- Expected\n+++ Actual\n",
321321
false

0 commit comments

Comments
 (0)