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

stripe / stripe-php / 11127448722

01 Oct 2024 02:26PM UTC coverage: 62.613% (-1.3%) from 63.944%
11127448722

Pull #1756

github

web-flow
Better property descriptions for thin event class (#1762)

* Better property descriptions for thin event class

* Removed Reason and Livemode from ThinEvent

* Added better description for class

* Fixed test

* lint fix
Pull Request #1756: Support for APIs in the new API version 2024-09-30.acacia

175 of 409 new or added lines in 26 files covered. (42.79%)

3 existing lines in 3 files now uncovered.

3547 of 5665 relevant lines covered (62.61%)

2.46 hits per line

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

0.0
/lib/Service/V2/Core/CoreServiceFactory.php
1
<?php
2

3
namespace Stripe\Service\V2\Core;
4

5
/**
6
 * Service factory class for API resources in the root namespace.
7
 * // Doc: The beginning of the section generated from our OpenAPI spec.
8
 *
9
 * @property EventService $events
10
 * // Doc: The end of the section generated from our OpenAPI spec
11
 */
12
class CoreServiceFactory extends \Stripe\Service\AbstractServiceFactory
13
{
14
    /**
15
     * @var array<string, string>
16
     */
17
    private static $classMap = [
18
        // Class Map: The beginning of the section generated from our OpenAPI spec
19
        'events' => EventService::class,
20
        // Class Map: The end of the section generated from our OpenAPI spec
21
    ];
22

NEW
23
    protected function getServiceClass($name)
×
24
    {
NEW
25
        return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null;
×
26
    }
27
}
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