Skip to content

Commit

Permalink
privatization
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Jul 18, 2024
1 parent 2387406 commit e55508a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/collections-orm/src/AbstractMinimalRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function __construct(

// set index by
$identifiers = $this->getEntityManager()
->getClassMetadata($this->getClass())
->getClassMetadata($this->class)
->getIdentifier();

if (\count($identifiers) !== 1) {
Expand Down
2 changes: 1 addition & 1 deletion packages/collections-orm/src/AbstractRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function __construct(

// set index by
$identifiers = $this->getEntityManager()
->getClassMetadata($this->getClass())
->getClassMetadata($this->class)
->getIdentifier();

if (\count($identifiers) !== 1) {
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
codeQuality: true,
codingStyle: true,
typeDeclarations: true,
// privatization: true,
privatization: true,
// instanceOf: true,
// strictBooleans: true,
// symfonyCodeQuality: true,
Expand Down

0 comments on commit e55508a

Please sign in to comment.