Skip to content

Commit 9d7e038

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

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
@@ -155,7 +155,7 @@ public function testCheckControlStringWithControlCharsCausesException(string $in
155155

156156
public function stringWithControlCharsProvider()
157157
{
158-
return [
158+
yield from [
159159
["String contains null char.\0"],
160160
["String contains null char and line break.\0\n"],
161161
];

0 commit comments

Comments
 (0)