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

miaoxing / product / 10654305759

01 Sep 2024 01:03PM UTC coverage: 78.63% (-2.9%) from 81.523%
10654305759

push

github

semantic-release-bot
chore(release): publish

See CHANGELOG.md for more details.

149 of 173 branches covered (86.13%)

574 of 730 relevant lines covered (78.63%)

38.67 hits per line

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

0.0
/src/Resource/ProductSpecResource.php
1
<?php
2

3
namespace Miaoxing\Product\Resource;
4

5
use Miaoxing\Plugin\Resource\BaseResource;
6
use Miaoxing\Product\Service\ProductSpecModel;
7

8
class ProductSpecResource extends BaseResource
9
{
10
    public function transform(ProductSpecModel $spec): array
11
    {
12
        return $spec->toArray([
×
13
            'isDefault',
×
14
            'specs',
×
15
        ]);
×
16
    }
17
}
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