Skip to content

Commit ed86610

Browse files
committed
make the stringable object type safe
1 parent 50221ef commit ed86610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/QueryTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -486,9 +486,9 @@ public function testMultipleSortOrder(): void
486486
* Mockup class to test stringable objects.
487487
*/
488488
class stringableObject implements Stringable {
489-
private $string;
489+
private String $string;
490490

491-
public function __construct($string)
491+
public function __construct(String $string)
492492
{
493493
$this->string = $string;
494494
}

0 commit comments

Comments
 (0)