diff --git a/Settings/General/SettingsManager.php b/Settings/General/SettingsManager.php
index <HASH>..<HASH> 100644
--- a/Settings/General/SettingsManager.php
+++ b/Settings/General/SettingsManager.php
@@ -160,7 +160,7 @@ class SettingsManager
     {
         $setting = $this->repo->find($profile . '_' . $name);
         if ($setting === null) {
-            if ($mustExist == true) {
+            if ($mustExist === true) {
                 throw new \UnexpectedValueException();
             }
             $setting = $this->createSetting($name, $profile, $type);
diff --git a/Twig/HiddenExtension.php b/Twig/HiddenExtension.php
index <HASH>..<HASH> 100644
--- a/Twig/HiddenExtension.php
+++ b/Twig/HiddenExtension.php
@@ -68,10 +68,10 @@ class HiddenExtension extends \Twig_Extension
      */
     public function generate($environment, $data, $checkRequest = false)
     {
-        if ($checkRequest && ($this->request != null)) {
+        if ($checkRequest && ($this->request !== null)) {
             foreach ($data as $name => $value) {
                 $requestVal = $this->request->get($name);
-                if (!isset($requestVal) || empty($requestVal) || ($requestVal != null)) {
+                if (!isset($requestVal) || empty($requestVal) || ($requestVal !== null)) {
                     unset($data[$name]);
                 }
             }
Strict boolean compare