Skip to content

Commit

Permalink
Format code (#6994)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Aug 8, 2024
1 parent 66f2361 commit 6a9d19f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/OptionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function testOptional()
{
$this->assertNull(optional(null)->something());

$this->assertEquals(10, optional(new class() {
$this->assertEquals(10, optional(new class {
public function something()
{
return 10;
Expand Down Expand Up @@ -240,10 +240,10 @@ public function testOptionalIsMacroable()

$this->assertNull(optional(null)->present()->something());

$this->assertSame('$10.00', optional(new class() {
$this->assertSame('$10.00', optional(new class {
public function present()
{
return new class() {
return new class {
public function something()
{
return '$10.00';
Expand Down

0 comments on commit 6a9d19f

Please sign in to comment.