mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-16 20:03:58 +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 Attribute
|
||||
*/
|
||||
class Attribute implements ValueInterface
|
||||
class Attribute implements ValueAccessInterface
|
||||
{
|
||||
/**
|
||||
* @var Value[]|ValueInterface[]|array
|
||||
* @var array|Value[]|ValueInterface[]
|
||||
*/
|
||||
private $values = [];
|
||||
|
||||
@@ -18,7 +18,7 @@ class Attribute implements ValueInterface
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* @return Value[]|ValueInterface[]|array
|
||||
* @return array|Value[]|ValueInterface[]
|
||||
*/
|
||||
public function getValues()
|
||||
{
|
||||
|
Reference in New Issue
Block a user