This commit is contained in:
amikhaylov
2026-05-28 12:24:30 +03:00
parent 8f3cc468b9
commit 222e8984fc
5 changed files with 73 additions and 27 deletions
@@ -17,7 +17,7 @@ class SimplePostStrategy implements MappingStrategyInterface
$post = new VkPost();
$post->setId($item['id']);
$post->setOwnerId($item['owner_id']);
$post->setAuthorId($item['from_id']);
$post->setFromId($item['from_id']);
$post->setDate($item['date']);
$post->setIsPost();
$post->setText($item['text'] ?? '');