refactor: add void return type

This commit is contained in:
Guilherme Siani
2021-07-16 21:06:54 -03:00
committed by GitHub
parent b521db7c06
commit 93252b894f

View File

@@ -6,12 +6,12 @@ class PaperBook implements Book
{
private int $page;
public function open()
public function open(): void
{
$this->page = 1;
}
public function turnPage()
public function turnPage(): void
{
$this->page++;
}