mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 20:20:15 +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
|
||||
{
|
||||
public function testCanAddAttributeToEntity()
|
||||
public function testCanAddAttributeToEntity(): void
|
||||
{
|
||||
$colorAttribute = new Attribute('color');
|
||||
$colorSilver = new Value($colorAttribute, 'silver');
|
||||
|
Reference in New Issue
Block a user