mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Use Collection
more.
This commit is contained in:
@@ -11,8 +11,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\PersonBundle\Config;
|
||||
|
||||
use function count;
|
||||
|
||||
/**
|
||||
* Give help to interact with the config for alt names.
|
||||
*/
|
||||
@@ -69,6 +67,6 @@ class ConfigPersonAltNamesHelper
|
||||
*/
|
||||
public function hasAltNames(): bool
|
||||
{
|
||||
return count($this->config) > 0;
|
||||
return [] !== $this->config;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user