src/BenatEspina/StackExchangeApiClient/Infrastructure/Domain/Model/AnemicComment.php 1 location
|
@@ 235-242 (lines=8) @@
|
232 |
|
return $this->postType; |
233 |
|
} |
234 |
|
|
235 |
|
public function setPostType($postType) |
236 |
|
{ |
237 |
|
if (in_array($postType, [self::POST_TYPE_QUESTION, self::POST_TYPE_ANSWER], true)) { |
238 |
|
$this->postType = $postType; |
239 |
|
} |
240 |
|
|
241 |
|
return $this; |
242 |
|
} |
243 |
|
|
244 |
|
public function getReplyToUser() |
245 |
|
{ |
src/BenatEspina/StackExchangeApiClient/Infrastructure/Domain/Model/AnemicNetworkPost.php 1 location
|
@@ 71-78 (lines=8) @@
|
68 |
|
return $this->postType; |
69 |
|
} |
70 |
|
|
71 |
|
public function setPostType($postType) |
72 |
|
{ |
73 |
|
if (in_array($postType, [self::POST_TYPE_QUESTION, self::POST_TYPE_ANSWER], true)) { |
74 |
|
$this->postType = $postType; |
75 |
|
} |
76 |
|
|
77 |
|
return $this; |
78 |
|
} |
79 |
|
|
80 |
|
public function getScore() |
81 |
|
{ |