Skip to content

[3.9] Fix/stringable sort #2420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make the stringable object type safe
  • Loading branch information
apeisa committed Jul 16, 2022
commit ed86610b85245653f8aa83f6deab7b71da92039a
4 changes: 2 additions & 2 deletions tests/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -486,9 +486,9 @@ public function testMultipleSortOrder(): void
* Mockup class to test stringable objects.
*/
class stringableObject implements Stringable {
private $string;
private String $string;

public function __construct($string)
public function __construct(String $string)
{
$this->string = $string;
}
Expand Down