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

stripe / stripe-php / 9308533534

30 May 2024 08:07PM UTC coverage: 65.24% (-0.9%) from 66.176%
9308533534

push

github

web-flow
Added PHPDocs for `create`, `update`, `delete`, `all`, `retrieve` methods after moving them out of traits.  (#1701)

* Demagiced crudl operation

* Improvements from codegen#1452

* Updated override to fix indents

1080 of 1682 new or added lines in 106 files covered. (64.21%)

15 existing lines in 3 files now uncovered.

3444 of 5279 relevant lines covered (65.24%)

2.29 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

© 2026 Coveralls, Inc