Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsn committed Oct 28, 2024
1 parent bfe78cc commit ca095d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/system/Database/Live/LikeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,17 @@ public function testLikeCaseInsensitive(): void
}

#[DataProvider('provideMultibyteCharacters')]
public function testLikeCaseInsensitiveWithMultibyteCharacter($match, $result): void
public function testLikeCaseInsensitiveWithMultibyteCharacter(string $match, string $result): void
{
$wai = $this->db->table('without_auto_increment')->like('value', $match, 'both', null, true)->get();
$wai = $wai->getRow();

$this->assertSame($result, $wai->key);
}

/**
* @return iterable<string, array{0: string, 1: string}>
*/
public static function provideMultibyteCharacters(): iterable
{
yield from [
Expand Down

0 comments on commit ca095d8

Please sign in to comment.