Skip to content

Commit

Permalink
Updated coding standards.
Browse files Browse the repository at this point in the history
- Updates testing on php 7.1
- Fixes #86
  • Loading branch information
jhedstrom committed Mar 29, 2017
1 parent 5c6f570 commit 16347c5
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 16347c5

Please sign in to comment.