Skip to content

Commit 7a697e7

Browse files
authored
Merge pull request #20 from hishamco/status-code
Remove unnecessary return from setStatusCode()
2 parents f91945c + a2a111d commit 7a697e7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Models/ResultAbstract.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public function __construct(?int $statusCode = null, ?string $content = null)
2525
protected function setStatusCode(int $statusCode)
2626
{
2727
$this->statusCode = $statusCode;
28-
return $this;
2928
}
3029
public function getStatusCode(): int
3130
{

0 commit comments

Comments
 (0)