Skip to content

Commit

Permalink
Update StringLocaleTitleTest.php
Browse files Browse the repository at this point in the history
fix if statements
  • Loading branch information
f-lapinski authored Feb 14, 2025
1 parent 36a531e commit c845794
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function test_returns_method_returns_string_type() : void
public function test_string_locale_title_en() : void
{
/** @phpstan-ignore-next-line */
if (!method_exists(AbstractUnicodeString::class, 'localeTitle')) {
if (method_exists(AbstractUnicodeString::class, 'localeTitle')) {
self::assertSame(
'Foo ijssel',
ref('str')->stringLocaleTitle('en')->eval(
Expand All @@ -46,7 +46,7 @@ public function test_string_locale_title_en() : void
public function test_string_locale_title_nl() : void
{
/** @phpstan-ignore-next-line */
if (!method_exists(AbstractUnicodeString::class, 'localeTitle')) {
if (method_exists(AbstractUnicodeString::class, 'localeTitle')) {
self::assertSame(
'Foo IJssel',
ref('str')->stringLocaleTitle('nl')->eval(
Expand Down

0 comments on commit c845794

Please sign in to comment.