Change TRUE, FALSE, NULL capitalization to lowercase

This commit is contained in:
Tautvidas Sipavičius
2016-06-29 18:38:38 +03:00
parent 1cead6c6cd
commit 56ba543f8d
2 changed files with 4 additions and 4 deletions

View File

@ -148,7 +148,7 @@ EOL;
}, explode(';', trim($rules[$index]))));
// check if we have multiple selectors
if(strpos($selector, ',') !== FALSE) {
if(strpos($selector, ',') !== false) {
$selectors_array = array_filter(array_map(function($value) {
return trim($value);
}, explode(',', $selector)));
@ -175,4 +175,4 @@ EOL;
$this->stripComments();
return $this->render();
}
}
}

View File

@ -162,7 +162,7 @@ class Subscriber extends Model {
$subscriber = self::findOne($subscriber->id);
// restore deleted subscriber
if($subscriber->deleted_at !== NULL) {
if($subscriber->deleted_at !== null) {
$subscriber->setExpr('deleted_at', 'NULL');
}
@ -708,4 +708,4 @@ class Subscriber extends Model {
)
);
}
}
}