diff --git a/lib/Form/Util/Styles.php b/lib/Form/Util/Styles.php index c6c6552111..3442e8ecbd 100644 --- a/lib/Form/Util/Styles.php +++ b/lib/Form/Util/Styles.php @@ -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(); } -} \ No newline at end of file +} diff --git a/lib/Models/Subscriber.php b/lib/Models/Subscriber.php index 7517e2ec37..e6323d59d0 100644 --- a/lib/Models/Subscriber.php +++ b/lib/Models/Subscriber.php @@ -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 { ) ); } -} \ No newline at end of file +}