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 &&
|
null !== $this->author &&
|
||||||
$this->author->isValid() &&
|
$this->author->isValid() &&
|
||||||
null !== $this->text &&
|
null !== $this->text &&
|
||||||
null !== $this->created &&
|
null !== $this->created// &&
|
||||||
null !== $this->type
|
// @todo check type existence in incoming data
|
||||||
|
//null !== $this->type
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue