mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-11 01:14:01 +02:00
Fix bugs and include Composer autoloader to example.php
This commit is contained in:
@@ -5,10 +5,10 @@ namespace DesignPatterns\More\EAV;
|
||||
/**
|
||||
* Class Entity
|
||||
*/
|
||||
class Entity implements ValueInterface
|
||||
class Entity implements ValueAccessInterface
|
||||
{
|
||||
/**
|
||||
* @var Value[]|ValueInterface[]|array
|
||||
* @var array|Value[]|ValueInterface[]
|
||||
*/
|
||||
private $values = [];
|
||||
|
||||
@@ -18,7 +18,7 @@ class Entity implements ValueInterface
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* @return Value[]|ValueInterface[]|array
|
||||
* @return array|Value[]|ValueInterface[]
|
||||
*/
|
||||
public function getValues()
|
||||
{
|
||||
|
Reference in New Issue
Block a user