Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Jan 13, 2025
1 parent 10088d2 commit 36621f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Feature/GraphQL/Fieldtypes/DateFieldtypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function setUp(): void

Carbon::macro('getToStringFormat', function () {
// Carbon 2.x
if (isset(static::$toStringFormat)) {
if (property_exists(static::this(), 'toStringFormat')) {
return static::$toStringFormat;
}

Expand Down

0 comments on commit 36621f6

Please sign in to comment.