Skip to content

Commit

Permalink
refactor: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thorbrink committed Jun 14, 2024
1 parent f70d2d8 commit edea703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/Controller/Utils/SingularSchoolData.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private function appendViewContactData(): void
'suppress_filters' => false
));

$this->data['contacts'] = !empty($persons) ? array_map(function ($contact) use ($persons) {
$this->data['contacts'] = !empty($persons) ? array_map(function ($contact) {

$personPosts = get_posts([
'post_type' => self::PERSON_POST_TYPE,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit edea703

Please sign in to comment.