mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-03 21:47:25 +02:00
EAV TESTS: EAVTest::testCanAddAttributeToEntity() add return type
This commit is contained in:
@@ -11,7 +11,7 @@ use PHPUnit\Framework\TestCase;
|
|||||||
|
|
||||||
class EAVTest extends TestCase
|
class EAVTest extends TestCase
|
||||||
{
|
{
|
||||||
public function testCanAddAttributeToEntity()
|
public function testCanAddAttributeToEntity(): void
|
||||||
{
|
{
|
||||||
$colorAttribute = new Attribute('color');
|
$colorAttribute = new Attribute('color');
|
||||||
$colorSilver = new Value($colorAttribute, 'silver');
|
$colorSilver = new Value($colorAttribute, 'silver');
|
||||||
|
Reference in New Issue
Block a user