mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-25 18:53:25 +02:00
fixed CS issues
This commit is contained in:
@ -19,7 +19,8 @@ class CharacterFlyweight implements FlyweightInterface
|
||||
* Constructor.
|
||||
* @param string $name
|
||||
*/
|
||||
public function __construct($name) {
|
||||
public function __construct($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,6 @@ class FlyweightFactory
|
||||
|
||||
public function totalNumber()
|
||||
{
|
||||
return sizeof($this->pool);
|
||||
return sizeof($this->pool);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user