22
33namespace Omnipay \Alipay \Requests ;
44
5+ use Exception ;
56use Omnipay \Alipay \Common \Signer ;
67use Omnipay \Alipay \Responses \AopNotifyResponse ;
78use Omnipay \Alipay \Responses \VerifyNotifyIdResponse ;
@@ -115,6 +116,10 @@ public function sendData($data)
115116 }
116117
117118
119+ /**
120+ * @throws InvalidRequestException
121+ * @throws Exception
122+ */
118123 protected function verifySignature ()
119124 {
120125 $ signer = new Signer ($ this ->params ->all ());
@@ -136,7 +141,9 @@ protected function verifySignature()
136141 }
137142 }
138143
139-
144+ /**
145+ * @throws InvalidRequestException
146+ */
140147 protected function verifyNotifyId ()
141148 {
142149 if (! $ this ->getPartner ()) {
@@ -181,7 +188,7 @@ public function setPartner($value)
181188 /**
182189 * @param boolean $value
183190 *
184- * @return \Omnipay\Alipay\Requests\ AopNotifyRequest
191+ * @return AopNotifyRequest
185192 */
186193 public function setVerifyNotifyId ($ value )
187194 {
@@ -194,7 +201,7 @@ public function setVerifyNotifyId($value)
194201 /**
195202 * @param boolean $sort
196203 *
197- * @return \Omnipay\Alipay\Requests\ AopNotifyRequest
204+ * @return AopNotifyRequest
198205 */
199206 public function setSort ($ sort )
200207 {
@@ -207,7 +214,7 @@ public function setSort($sort)
207214 /**
208215 * @param string $encodePolicy
209216 *
210- * @return \Omnipay\Alipay\Requests\ AopNotifyRequest
217+ * @return AopNotifyRequest
211218 */
212219 public function setEncodePolicy ($ encodePolicy )
213220 {
0 commit comments