mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-28 18:50:11 +02:00
Merge pull request #440 from guilhermesiani/patch-4
refactor: add void return type
This commit is contained in:
@@ -14,7 +14,7 @@ abstract class BookPrototype
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
public function setTitle(string $title)
|
||||
public function setTitle(string $title): void
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
|
Reference in New Issue
Block a user