Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HLeithner committed Mar 27, 2023
1 parent 666d051 commit beb9c5b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/Unit/Plugin/Authentication/Ldap/LdapPluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ public function execute(): CollectionInterface
{
if (!$this->hasEntry) {
return new class () implements CollectionInterface {
public function toArray(): array {
public function toArray(): array
{
return [];
}

Expand Down Expand Up @@ -400,11 +401,13 @@ public function count(): int
return new class () implements CollectionInterface {
public $entry;

public function __construct() {
public function __construct()
{
$this->entry = new Entry('');
}

public function toArray(): array {
public function toArray(): array
{
return [$this->entry];
}

Expand Down

0 comments on commit beb9c5b

Please sign in to comment.