Issues (188)

src/Service/RoleResolverInterface.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
namespace Cycle\ORM\Service;
6
7
interface RoleResolverInterface
8
{
9
    /**
10
     * Automatically resolve role based on object name or instance.
11
     *
12
     * @return non-empty-string
0 ignored issues
show
Documentation Bug introduced by
The doc comment non-empty-string at position 0 could not be parsed: Unknown type name 'non-empty-string' at position 0 in non-empty-string.
Loading history...
13
     */
14
    public function resolveRole(string|object $entity): string;
15
}
16