mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Renamed method to be more consistent to what it actually does
This commit is contained in:
@@ -25,7 +25,7 @@ class DomainService implements DomainServiceInterface
|
||||
/**
|
||||
* @return DomainItem[]
|
||||
*/
|
||||
public function listDomainsWithout(): array
|
||||
public function listDomains(): array
|
||||
{
|
||||
/** @var DomainRepositoryInterface $repo */
|
||||
$repo = $this->em->getRepository(Domain::class);
|
||||
|
||||
@@ -11,5 +11,5 @@ interface DomainServiceInterface
|
||||
/**
|
||||
* @return DomainItem[]
|
||||
*/
|
||||
public function listDomainsWithout(): array;
|
||||
public function listDomains(): array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user