diff --git a/inc/raml.php b/inc/raml.php index 5ddfb0b..1bdd5fd 100644 --- a/inc/raml.php +++ b/inc/raml.php @@ -157,7 +157,7 @@ public function generatePathData($key, $value) { $this->paths[$key]->addChild($this->formatParentPath($key) . $skey, $skey); $this->generatePathData($this->formatParentPath($key) . $skey, $svalue); unset($value[$skey]); - } elseif ($skey == 'is') { + } elseif ($skey === 'is') { if (is_array($svalue)) { foreach($svalue as $ivalue) { if (!isset($value[$ivalue])) {