Skip to content

Commit

Permalink
psr
Browse files Browse the repository at this point in the history
  • Loading branch information
nateiler committed Jan 10, 2019
1 parent 35dfd08 commit fbe24ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/fields/ModifyElementsQueryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ protected function emptyValueSubSelect(
" {{{$alias}}} where [[{$alias}.elementId" .
"]] = [[elements.id]] and [[{$alias}.fieldId]] = {$this->id}) {$operator} 0";
}
}
}
2 changes: 1 addition & 1 deletion src/fields/NormalizeValueTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ protected function targetSiteId(ElementInterface $element = null): int
}
return Craft::$app->getSites()->currentSite->id;
}
}
}
2 changes: 1 addition & 1 deletion src/records/Domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function afterDelete()
->select([$sortOrderAttribute])
->column();

if(count($sortOrder) > 0) {
if (count($sortOrder) > 0) {
$this->saveNewOrder(
array_flip(array_combine(
range($sortOrder, count($sortOrder)),
Expand Down

0 comments on commit fbe24ee

Please sign in to comment.