Fix bugs and include Composer autoloader to example.php

This commit is contained in:
victor
2015-07-21 10:57:01 +03:00
parent 1b068456c1
commit f5c075f02d
6 changed files with 40 additions and 16 deletions

View File

@@ -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()
{