Skip to content

Commit

Permalink
Replace single quotes with double
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Jun 22, 2024
1 parent 552216b commit 6377b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ActiveQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ private function removeDuplicatedModels(array $models): array
$pks = $this->getARInstance()->primaryKey();

if (empty($pks)) {
throw new InvalidConfigException("Primary key of '{$this->getARClassName()}' can not be empty.");
throw new InvalidConfigException('Primary key of "' . $this->getARClassName() . '" can not be empty.');
}

foreach ($pks as $pk) {
Expand All @@ -323,7 +323,7 @@ private function removeDuplicatedModels(array $models): array
$pks = $model->getPrimaryKey(true);

if (empty($pks)) {
throw new InvalidConfigException("Primary key of '{$this->getARClassName()}' can not be empty.");
throw new InvalidConfigException('Primary key of "' . $this->getARClassName() . '" can not be empty.');
}

foreach ($pks as $pk) {
Expand Down

0 comments on commit 6377b2d

Please sign in to comment.