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

contributte / thepay-api / 4023857024

pending completion
4023857024

push

github

kodiakhq[bot]
Bump shivammathur/setup-php from 2.23.0 to 2.24.0

275 of 477 relevant lines covered (57.65%)

0.58 hits per line

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

83.33
/src/DataApi/Requests/GetPaymentMethodsRequest.php
1
<?php declare(strict_types = 1);
2

3
namespace Tp\DataApi\Requests;
4

5
class GetPaymentMethodsRequest extends Request
6
{
7

8
        /** @var bool|null */
9
        protected $onlyActive;
10

11
        public function getOnlyActive(): ?bool
12
        {
13
                return $this->onlyActive;
×
14
        }
15

16
        public function setOnlyActive(?bool $onlyActive = null): void
17
        {
18
                $this->onlyActive = $onlyActive;
1✔
19
        }
1✔
20

21
        protected function configArray(): array
22
        {
23
                $configArray = parent::configArray();
1✔
24
                $configArray['accountId'] = $this->_merchantConfig->accountId;
1✔
25

26
                return $configArray;
1✔
27
        }
28

29
}
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

© 2025 Coveralls, Inc