Skip to content

Commit

Permalink
Minor coding standard fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
indigoxela committed Nov 20, 2024
1 parent af213c3 commit 64d27ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions geoip_tokens.module
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ function geoip_tokens_deliver_ajax() {
}

$args = arg();
$result = NULL;
if (count($args) == 3) {
switch ($args[2]) {
case 'latlon':
Expand Down Expand Up @@ -245,6 +246,7 @@ function geoip_tokens_retrieve_external($ip) {
* Helper function to flatten data arrays.
*
* @param array $remote_data
* Array of data retrieved from remote service.
*
* @return array
*/
Expand Down
2 changes: 1 addition & 1 deletion geoip_tokens.rules.inc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function geoip_tokens_rules_condition_info() {
/**
* Checks if the detected country matches to one in the list.
*
* @param array $countries
* @param array|string $countries
* List of countries to check against.
*
* @return bool
Expand Down

0 comments on commit 64d27ea

Please sign in to comment.