diff --git a/src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Post.php b/src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Post.php index 76bc035..fb335d2 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Post.php +++ b/src/Skobkin/Bundle/PointToolsBundle/DTO/Api/Post.php @@ -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; }