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