Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix namespaced classes in @return PHPDoc. #1216

Merged
merged 1 commit into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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