Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jun 9, 2022
1 parent 9aa0489 commit 9528447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PersistenceUiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function testTypecast(array $persistenceSeed, array $fieldSeed, $phpValue
$this->assertSame($expectedUiValue, $uiValue);
$readPhpValue = $p->typecastLoadField($field, $uiValue);
if ($readPhpValue instanceof \DateTimeInterface) {
$this->assertEquals($phpValue, $readPhpValue);
$this->{'assertEquals'}($phpValue, $readPhpValue);
} else {
$this->assertSame($phpValue, $readPhpValue);
}
Expand Down

0 comments on commit 9528447

Please sign in to comment.