Skip to content

Commit 7ab89e2

Browse files
committed
Whitespaces
1 parent 6cac4e6 commit 7ab89e2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

exercises/stringify-to-demystify/solution/solution.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public function __construct(private string $status, private string $error)
88

99
public function __toString()
1010
{
11-
return "Status: {$this->status} \nError: {$this->error}";
11+
return "Status: {$this->status}\nError: {$this->error}\n";
1212
}
1313
}
1414

test/solutions/stringify-to-demystify/solution-no-stringable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public function __construct(private string $status, private string $error)
88

99
public function __toString()
1010
{
11-
return "Status: {$this->status} \nError: {$this->error}";
11+
return "Status: {$this->status}\nError: {$this->error}\n";
1212
}
1313
}
1414

test/solutions/stringify-to-demystify/solution.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public function __construct(private string $status, private string $error)
88

99
public function __toString()
1010
{
11-
return "Status: {$this->status} \nError: {$this->error}";
11+
return "Status: {$this->status}\nError: {$this->error}\n";
1212
}
1313
}
1414

0 commit comments

Comments
 (0)