• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stripe / stripe-php / 9287722801

29 May 2024 02:13PM UTC coverage: 65.291% (-0.8%) from 66.119%
9287722801

Pull #1702

github

web-flow
Merge 94af76f66 into 7038876e7
Pull Request #1702: Update generated code

1026 of 1594 new or added lines in 106 files covered. (64.37%)

15 existing lines in 3 files now uncovered.

3386 of 5186 relevant lines covered (65.29%)

2.26 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/ApiOperations/All.php
1
<?php
2

3
namespace Stripe\ApiOperations;
4

5
/**
6
 * Trait for listable resources. Adds a `all()` static method to the class.
7
 *
8
 * This trait should only be applied to classes that derive from StripeObject.
9
 */
10
trait All
11
{
12
    /**
13
     * @param null|array $params
14
     * @param null|array|string $opts
15
     *
16
     * @throws \Stripe\Exception\ApiErrorException if the request fails
17
     *
18
     * @return \Stripe\Collection of ApiResources
19
     */
UNCOV
20
    public static function all($params = null, $opts = null)
×
21
    {
UNCOV
22
        $url = static::classUrl();
×
23

UNCOV
24
        return static::_requestPage($url, \Stripe\Collection::class, $params, $opts);
×
25
    }
26
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2024 Coveralls, Inc