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

stripe / stripe-php / 6471862601

10 Oct 2023 04:02PM UTC coverage: 69.665% (-0.5%) from 70.141%
6471862601

push

github

web-flow
Merge pull request #1570 from localheinz/feature/coveralls

Enhancement: Use `coverallsapp/github-action` to report code coverage

2393 of 3435 relevant lines covered (69.67%)

3.5 hits per line

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

0.0
/lib/ApiResponse.php
1
<?php
2

3
namespace Stripe;
4

5
use Stripe\Util\CaseInsensitiveArray;
6

7
/**
8
 * Class ApiResponse.
9
 */
10
class ApiResponse
11
{
12
    /**
13
     * @var null|array|CaseInsensitiveArray
14
     */
15
    public $headers;
16

17
    /**
18
     * @var string
19
     */
20
    public $body;
21

22
    /**
23
     * @var null|array
24
     */
25
    public $json;
26

27
    /**
28
     * @var int
29
     */
30
    public $code;
31

32
    /**
33
     * @param string $body
34
     * @param int $code
35
     * @param null|array|CaseInsensitiveArray $headers
36
     * @param null|array $json
37
     */
38
    public function __construct($body, $code, $headers, $json)
×
39
    {
40
        $this->body = $body;
×
41
        $this->code = $code;
×
42
        $this->headers = $headers;
×
43
        $this->json = $json;
×
44
    }
45
}
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