@@ -52,7 +52,7 @@ |
||
52 | 52 | * |
53 | 53 | * @param string[] $params QueryString parameter(s), it admits page and pagesize; by default is null |
54 | 54 | * |
55 | - * @return array<BenatEspina\StackExchangeApiClient\Model\AccessTokenInterface> |
|
55 | + * @return BenatEspina\StackExchangeApiClient\Model\Interfaces\ErrorInterface[] |
|
56 | 56 | */ |
57 | 57 | public function getAll($params = []) |
58 | 58 | { |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * |
70 | 70 | * @param string[] $filters The array which contains the filters delimited by semicolon |
71 | 71 | * |
72 | - * @return array<BenatEspina\StackExchangeApiClient\Model\Interfaces\FilterInterface> |
|
72 | + * @return BenatEspina\StackExchangeApiClient\Model\FilterInterface[] |
|
73 | 73 | */ |
74 | 74 | public function getFilters($filters) |
75 | 75 | { |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | /** |
187 | 187 | * Sets owner. |
188 | 188 | * |
189 | - * @param \BenatEspina\StackExchangeApiClient\Model\Interfaces\ShallowUserInterface|null $owner The owner |
|
189 | + * @param ShallowUserInterface $owner The owner |
|
190 | 190 | * |
191 | 191 | * @return $this self Object |
192 | 192 | */ |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | /** |
249 | 249 | * Gets upvoted. |
250 | 250 | * |
251 | - * @return bool |
|
251 | + * @return boolean|null |
|
252 | 252 | */ |
253 | 253 | public function isUpvoted() |
254 | 254 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | /** |
54 | 54 | * Sets expires on date. |
55 | 55 | * |
56 | - * @param \DateTime|null $expiresOnDate The expires on date |
|
56 | + * @param \DateTime $expiresOnDate The expires on date |
|
57 | 57 | * |
58 | 58 | * @return $this self Object |
59 | 59 | */ |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | /** |
88 | 88 | * Gets scope. |
89 | 89 | * |
90 | - * @return string[]|null |
|
90 | + * @return string[] |
|
91 | 91 | */ |
92 | 92 | public function getScope(); |
93 | 93 | } |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * Adds original question. |
80 | 80 | * |
81 | - * @param \BenatEspina\StackExchangeApiClient\Model\Interfaces\OriginalQuestionInterface|null $originalQuestion The |
|
81 | + * @param OriginalQuestionInterface $originalQuestion The |
|
82 | 82 | * original |
83 | 83 | * question |
84 | 84 | * |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | /** |
90 | 90 | * Removes original question. |
91 | 91 | * |
92 | - * @param \BenatEspina\StackExchangeApiClient\Model\Interfaces\OriginalQuestionInterface|null $originalQuestion The |
|
92 | + * @param OriginalQuestionInterface $originalQuestion The |
|
93 | 93 | * original |
94 | 94 | * question |
95 | 95 | * |
@@ -85,7 +85,7 @@ |
||
85 | 85 | /** |
86 | 86 | * Sets reply to user. |
87 | 87 | * |
88 | - * @param \BenatEspina\StackExchangeApiClient\Model\Interfaces\ShallowUserInterface|null $user The shallow user |
|
88 | + * @param ShallowUserInterface $user The shallow user |
|
89 | 89 | * |
90 | 90 | * @return $this self Object |
91 | 91 | */ |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | /** |
104 | 104 | * Adds sub-option. |
105 | 105 | * |
106 | - * @param \BenatEspina\StackExchangeApiClient\Model\Interfaces\FlagOptionInterface|null $subOption The sub-option |
|
106 | + * @param FlagOptionInterface $subOption The sub-option |
|
107 | 107 | * |
108 | 108 | * @return $this self The Object |
109 | 109 | */ |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | /** |
113 | 113 | * Removes sub-option. |
114 | 114 | * |
115 | - * @param \BenatEspina\StackExchangeApiClient\Model\Interfaces\FlagOptionInterface|null $subOption The sub-option |
|
115 | + * @param FlagOptionInterface $subOption The sub-option |
|
116 | 116 | * |
117 | 117 | * @return $this self The Object |
118 | 118 | */ |
@@ -97,7 +97,7 @@ |
||
97 | 97 | /** |
98 | 98 | * Sets site. |
99 | 99 | * |
100 | - * @param \BenatEspina\StackExchangeApiClient\Model\Interfaces\SiteInterface|null $site The site |
|
100 | + * @param SiteInterface $site The site |
|
101 | 101 | * |
102 | 102 | * @return $this self Object |
103 | 103 | */ |
@@ -113,7 +113,7 @@ |
||
113 | 113 | /** |
114 | 114 | * Sets protected date. |
115 | 115 | * |
116 | - * @param \DateTime|null $protectedDate The protected date. |
|
116 | + * @param \DateTime $protectedDate The protected date. |
|
117 | 117 | * |
118 | 118 | * @return $this self Object |
119 | 119 | */ |
@@ -11,8 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace BenatEspina\StackExchangeApiClient\Model\Interfaces; |
13 | 13 | |
14 | -use BenatEspina\StackExchangeApiClient\Model\Interfaces\Traits\AnsweredInterface; |
|
15 | 14 | use BenatEspina\StackExchangeApiClient\Model\Interfaces\Traits\AnswerInterface as AnswerTrait; |
15 | +use BenatEspina\StackExchangeApiClient\Model\Interfaces\Traits\AnsweredInterface; |
|
16 | 16 | use BenatEspina\StackExchangeApiClient\Model\Interfaces\Traits\BountyInterface; |
17 | 17 | use BenatEspina\StackExchangeApiClient\Model\Interfaces\Traits\CloseInterface; |
18 | 18 | use BenatEspina\StackExchangeApiClient\Model\Interfaces\Traits\CommentCountInterface; |