Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7ab89e2

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /