Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Orkin committed Dec 13, 2021
1 parent ce5e857 commit e998f57
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
22 changes: 11 additions & 11 deletions psalm.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0"?>
<psalm
totallyTyped="true"
forbidEcho="true"
strictBinaryOperands="true"
phpVersion="7.1"
allowStringToStandInForClass="true"
rememberPropertyAssignmentsAfterCall="false"
checkForThrowsInGlobalScope="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
errorBaseline=".psalm.baseline.xml"
totallyTyped="true"
forbidEcho="true"
strictBinaryOperands="true"
phpVersion="7.1"
allowStringToStandInForClass="true"
rememberPropertyAssignmentsAfterCall="false"
checkForThrowsInGlobalScope="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
errorBaseline=".psalm.baseline.xml"
>
<projectFiles>
<directory name="src"/>
Expand Down
3 changes: 1 addition & 2 deletions src/Manager/Doctrine/ClientManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ public function list(?ClientFilter $clientFilter): array
$repository = $this->entityManager->getRepository($this->clientFqcn);
$criteria = self::filterToCriteria($clientFilter);

/** @var list<AbstractClient> */
return array_values($repository->findBy($criteria));
return $repository->findBy($criteria);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Persistence/Mapping/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function getAllClassNames(): array
RefreshToken::class,
],
Client::class === $this->clientClass ? [Client::class] : [],
$this->persistAccessToken ? [AccessToken::class] : [],
$this->persistAccessToken ? [AccessToken::class] : []
);
}

Expand Down

0 comments on commit e998f57

Please sign in to comment.