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

contributte / datagrid / 8230157862

11 Mar 2024 09:02AM UTC coverage: 34.102%. First build
8230157862

Pull #1060

github

radimvaculik
Fix failing tests
Pull Request #1060: [7.x] Next

117 of 435 new or added lines in 54 files covered. (26.9%)

1124 of 3296 relevant lines covered (34.1%)

0.34 hits per line

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

0.0
/src/GroupAction/GroupButtonAction.php
1
<?php declare(strict_types = 1);
2

3
namespace Contributte\Datagrid\GroupAction;
4

5
/**
6
 * @method void onClick(array $ids)
7
 */
8
class GroupButtonAction extends GroupAction
9
{
10

11
        /** @var array|callable[] */
12
        public array $onClick = [];
13

14
        protected string $class = 'btn btn-sm btn-success';
15

16
        public function __construct(string $title, ?string $class = null)
17
        {
18
                parent::__construct($title);
×
19

NEW
20
                if ($class !== null && $class !== '') {
×
21
                        $this->class = $class;
×
22
                }
23
        }
24

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