socialPostRepository = $socialPostRepository; } /** * @param int $exportId [description] * * @return array|null [description] */ public function get(int $postId): ?SocialPost { $post = $this->socialPostRepository->findById($postId); return $post; } }