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

contributte / forms-multiplier / 5574364510

pending completion
5574364510

push

github

f3l1x
Composer: update dev deps

239 of 321 relevant lines covered (74.45%)

10.95 hits per line

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

66.67
/src/Submitter.php
1
<?php declare(strict_types = 1);
2

3
namespace Contributte\FormMultiplier;
4

5
use Nette\Forms\Controls\SubmitButton;
6

7
final class Submitter extends SubmitButton implements ISubmitter
8
{
9

10
        private int $copyCount = 1;
11

12
        public function __construct(?string $caption, int $copyCount = 1)
13
        {
14
                parent::__construct($caption);
21✔
15

16
                $this->copyCount = $copyCount;
21✔
17
        }
18

19
        public function getCopyCount(): int
20
        {
21
                return $this->copyCount;
×
22
        }
23

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