Skip to content

Commit

Permalink
Merge pull request #87 from Gizra/86-coding-standards
Browse files Browse the repository at this point in the history
Updated coding standards.
  • Loading branch information
jhedstrom authored Mar 29, 2017
2 parents 5c6f570 + 16347c5 commit b722ef3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ language: php
sudo: false

php:
- 5.5
- 5.6
- 7.0
- 7.1

env:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions message_subscribe_email/message_subscribe_email.module
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function message_subscribe_email_message_subscribe_get_subscribers_alter(array &
return;
}

$flag_ids = array();
$flag_ids = [];
foreach ($flags as $flag) {
$flag_ids[] = $flag->id();
}
Expand All @@ -65,7 +65,7 @@ function message_subscribe_email_message_subscribe_get_subscribers_alter(array &
}

$query = db_select('flagging', 'f');
$result = $query->fields('f', array('uid'))
$result = $query->fields('f', ['uid'])
->condition('flag_id', $flag_ids, 'IN')
->condition('uid', array_keys($uids), 'IN')
// Ensure to grab the correct flagging.
Expand Down

0 comments on commit b722ef3

Please sign in to comment.