Skip to content

Commit 72aa844

Browse files
kenjispaulbalandan
andauthored
test: replace return with yield from
Co-authored-by: John Paul E. Balandan, CPA <[email protected]>
1 parent 70424d6 commit 72aa844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Filters/InvalidCharsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function testCheckControlStringWithLineBreakAndTabReturnsTheString(string
131131

132132
public function stringWithLineBreakAndTabProvider()
133133
{
134-
return [
134+
yield from [
135135
["String contains \n line break."],
136136
["String contains \r line break."],
137137
["String contains \r\n line break."],

0 commit comments

Comments
 (0)