Skip to content

Commit

Permalink
Fix namespaced classes in @return PHPDoc. (#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcr-stripe authored Dec 7, 2021
1 parent a67305d commit 4d92710
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/Checkout/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Session extends \Stripe\ApiResource
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\Session the expired session
* @return \Stripe\Checkout\Session the expired session
*/
public function expire($params = null, $opts = null)
{
Expand Down
4 changes: 2 additions & 2 deletions lib/Identity/VerificationSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class VerificationSession extends \Stripe\ApiResource
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\VerificationSession the canceled verification session
* @return \Stripe\Identity\VerificationSession the canceled verification session
*/
public function cancel($params = null, $opts = null)
{
Expand All @@ -75,7 +75,7 @@ public function cancel($params = null, $opts = null)
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\VerificationSession the redacted verification session
* @return \Stripe\Identity\VerificationSession the redacted verification session
*/
public function redact($params = null, $opts = null)
{
Expand Down
4 changes: 2 additions & 2 deletions lib/Issuing/Authorization.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Authorization extends \Stripe\ApiResource
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\Authorization the approved authorization
* @return \Stripe\Issuing\Authorization the approved authorization
*/
public function approve($params = null, $opts = null)
{
Expand All @@ -68,7 +68,7 @@ public function approve($params = null, $opts = null)
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\Authorization the declined authorization
* @return \Stripe\Issuing\Authorization the declined authorization
*/
public function decline($params = null, $opts = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Issuing/Dispute.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Dispute extends \Stripe\ApiResource
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\Dispute the submited dispute
* @return \Stripe\Issuing\Dispute the submited dispute
*/
public function submit($params = null, $opts = null)
{
Expand Down

0 comments on commit 4d92710

Please sign in to comment.