Skip to content

Commit

Permalink
Merge pull request #50 from MathiasReker/is-null
Browse files Browse the repository at this point in the history
Is null
  • Loading branch information
PierreRambaud authored Feb 14, 2019
2 parents 4ed8162 + 0b01b2f commit ca1e658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gamification.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function renderHeaderNotification()

public function refreshDatas($iso_lang = null)
{
if (is_null($iso_lang)) {
if (null === $iso_lang) {
$iso_lang = $this->context->language->iso_code;
}

Expand Down Expand Up @@ -356,7 +356,7 @@ public function refreshDatas($iso_lang = null)

public function getData($iso_lang = null)
{
if (is_null($iso_lang)) {
if (null === $iso_lang) {
$iso_lang = $this->context->language->iso_code;
}
$iso_country = $this->context->country->iso_code;
Expand Down

0 comments on commit ca1e658

Please # to comment.