Probably Post DTO temprorary fix.
This commit is contained in:
parent
6e7280938d
commit
a816ec59fc
|
@ -146,8 +146,9 @@ class Post implements ValidableInterface
|
|||
null !== $this->author &&
|
||||
$this->author->isValid() &&
|
||||
null !== $this->text &&
|
||||
null !== $this->created &&
|
||||
null !== $this->type
|
||||
null !== $this->created// &&
|
||||
// @todo check type existence in incoming data
|
||||
//null !== $this->type
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue