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

FastyBird / simple-auth / 10064605629

23 Jul 2024 06:46PM UTC coverage: 63.636% (-5.7%) from 69.347%
10064605629

push

github

web-flow
Trying to fix memory leak (#14)

* Trying to fix memory leak

* Fixing entity mapping

36 of 118 new or added lines in 4 files covered. (30.51%)

10 existing lines in 3 files now uncovered.

539 of 847 relevant lines covered (63.64%)

5.0 hits per line

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

0.0
/src/Models/Casbin/Filter.php
1
<?php declare(strict_types = 1);
2

3
/**
4
 * Filter.php
5
 *
6
 * @license        More in LICENSE.md
7
 * @copyright      https://www.fastybird.com
8
 * @author         Adam Kadlec <adam.kadlec@fastybird.com>
9
 * @package        FastyBird:SimpleAuth!
10
 * @subpackage     Models
11
 * @since          0.1.0
12
 *
13
 * @date           23.07.24
14
 */
15

16
namespace FastyBird\SimpleAuth\Models\Casbin;
17

18
class Filter
19
{
20

21
        /**
22
         * @param array<int, mixed>|array<string, mixed> $params
23
         */
24
        public function __construct(private readonly string $predicates, private readonly array $params)
25
        {
NEW
26
        }
×
27

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

33
        /**
34
         * @return array<int, mixed>|array<string, mixed>
35
         */
36
        public function getParams(): array
37
        {
NEW
38
                return $this->params;
×
39
        }
40

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