Probably Post DTO temprorary fix.

This commit is contained in:
Alexey Skobkin 2017-01-15 18:03:13 +03:00
parent 6e7280938d
commit a816ec59fc
1 changed files with 3 additions and 2 deletions

View File

@ -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;
} }