Skip to content

Commit 6a9d19f

Browse files
authored
Format code (#6994)
1 parent 66f2361 commit 6a9d19f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: tests/OptionalTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function testOptional()
161161
{
162162
$this->assertNull(optional(null)->something());
163163

164-
$this->assertEquals(10, optional(new class() {
164+
$this->assertEquals(10, optional(new class {
165165
public function something()
166166
{
167167
return 10;
@@ -240,10 +240,10 @@ public function testOptionalIsMacroable()
240240

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

243-
$this->assertSame('$10.00', optional(new class() {
243+
$this->assertSame('$10.00', optional(new class {
244244
public function present()
245245
{
246-
return new class() {
246+
return new class {
247247
public function something()
248248
{
249249
return '$10.00';

0 commit comments

Comments
 (0)