Corrected BackgroundTypeFill.php
This commit is contained in:
parent
0395f3d32a
commit
3ed338d49a
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,10 @@ class BackgroundTypeFill extends BackgroundType implements ObjectTypeInterface
|
||||||
*/
|
*/
|
||||||
public static function fromArray(?array $data): ?BackgroundTypeFill
|
public static function fromArray(?array $data): ?BackgroundTypeFill
|
||||||
{
|
{
|
||||||
if()
|
if($data === null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
$object = new self();
|
$object = new self();
|
||||||
$object->type = type::FILL;
|
$object->type = type::FILL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue