1 | <?php |
||
8 | class ServiceCommentRepository implements CommentRepositoryInterface |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var Jacobemerick\CommentService\Api\DefaultApi |
||
13 | */ |
||
14 | protected $api; |
||
15 | |||
16 | /** |
||
17 | * @param Jacobemerick\CommentService\Api\DefaultApi $api |
||
18 | */ |
||
19 | public function __construct(DefaultApi $api) |
||
23 | |||
24 | /** |
||
25 | * @param array $comment |
||
26 | * @return array |
||
27 | * @throws Jacobemerick\CommentService\ApiException |
||
28 | */ |
||
29 | public function createComment(array $comment) |
||
34 | |||
35 | /** |
||
36 | * @param integer $commentId |
||
37 | * @return array |
||
38 | * @throws Jacobemerick\CommentService\ApiException |
||
39 | */ |
||
40 | public function getComment($commentId) |
||
45 | |||
46 | /** |
||
47 | * @param string $domain |
||
48 | * @param string $path |
||
49 | * @param integer $page |
||
50 | * @param integer $perPage |
||
51 | * @param string $order |
||
52 | * @return array |
||
53 | * @throws Jacobemerick\CommentService\ApiException |
||
54 | */ |
||
55 | public function getComments($domain = null, $path = null, $page = null, $perPage = null, $order = null) |
||
60 | |||
61 | /** |
||
62 | * @param Jacobemerick\CommentService\Model\Comment $comment |
||
63 | * @return array |
||
64 | */ |
||
65 | protected function deserializeComment(Comment $comment) |
||
81 | } |
||
82 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..