Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienRAVIA committed Jul 30, 2024
1 parent 441206f commit b9ac504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EntityRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ private function normalizeCacheKey(string $key): string

private function getClassMetadata(): ClassMetadata
{
if (!isset($this->classMetadata)) {
if (!isset($this->classMetadataCache)) {

Check failure on line 488 in src/EntityRepository.php

View workflow job for this annotation

GitHub Actions / test (8.2, symfony6)

Property Mapado\RestClientSdk\EntityRepository<E of object,ExtraParams>::$classMetadataCache (Mapado\RestClientSdk\Mapping\ClassMetadata) in isset() is not nullable.

Check failure on line 488 in src/EntityRepository.php

View workflow job for this annotation

GitHub Actions / test (8.2, symfony5)

Property Mapado\RestClientSdk\EntityRepository<E of object,ExtraParams>::$classMetadataCache (Mapado\RestClientSdk\Mapping\ClassMetadata) in isset() is not nullable.

Check failure on line 488 in src/EntityRepository.php

View workflow job for this annotation

GitHub Actions / test (8.1, symfony4)

Property Mapado\RestClientSdk\EntityRepository<E of object,ExtraParams>::$classMetadataCache (Mapado\RestClientSdk\Mapping\ClassMetadata) in isset() is not nullable.
$this->classMetadataCache = $this->sdk
->getMapping()
->getClassMetadata($this->entityName);
Expand Down

0 comments on commit b9ac504

Please sign in to comment.