mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 12:10:10 +02:00
style: Adopt PSR12
Dev dependency flyeralarm/php-code-validator has been removed. Closes #444
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Behavioral\Iterator;
|
||||
|
||||
@@ -20,6 +22,6 @@ class Book
|
||||
|
||||
public function getAuthorAndTitle(): string
|
||||
{
|
||||
return $this->getTitle().' by '.$this->getAuthor();
|
||||
return $this->getTitle() . ' by ' . $this->getAuthor();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user