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

JsonMapper / LaravelPackage / 13370932230

17 Feb 2025 01:04PM UTC coverage: 100.0%. Remained the same
13370932230

Pull #24

github

web-flow
Merge 03cbee78c into b0d87283e
Pull Request #24: ci: extend workflow matrix to include php 8.2, 8.3 and 8.4

20 of 20 relevant lines covered (100.0%)

27.05 hits per line

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

100.0
/src/JsonMapper.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace JsonMapper\LaravelPackage;
6

7
use Illuminate\Support\Collection;
8

9
class JsonMapper extends \JsonMapper\JsonMapper implements JsonMapperInterface
10
{
11
    public function mapToCollection(array $json, object $object): Collection
12
    {
13
        return collect($this->mapArray($json, $object));
13✔
14
    }
15

16
    public function mapToCollectionFromString(string $json, object $object): Collection
17
    {
18
        return collect($this->mapArrayFromString($json, $object));
13✔
19
    }
20
}
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