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

contributte / translation / 8357194598

20 Mar 2024 10:14AM UTC coverage: 95.066% (-0.3%) from 95.364%
8357194598

push

github

web-flow
Implement Stringable interface (#127)

2 of 4 new or added lines in 2 files covered. (50.0%)

578 of 608 relevant lines covered (95.07%)

0.95 hits per line

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

80.0
/src/Wrappers/Message.php
1
<?php declare(strict_types = 1);
2

3
namespace Contributte\Translation\Wrappers;
4

5
use Stringable;
6

7
class Message implements Stringable
1✔
8
{
9

10
        public string $message;
11

12
        /** @var array<mixed> */
13
        public array $parameters;
14

15
        /**
16
         * @param array<mixed> ...$parameters
17
         */
18
        public function __construct(
19
                string $message,
20
                ...$parameters
21
        )
22
        {
23
                $this->message = $message;
1✔
24
                $this->parameters = $parameters;
1✔
25
        }
1✔
26

27

28
        public function __toString(): string
29
        {
NEW
30
                return $this->message;
×
31
        }
32

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