Use triple-equals in a few more places

This commit is contained in:
2022-12-25 13:44:54 +01:00
parent 2174e1d08b
commit 49390c372d
8 changed files with 17 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ abstract class Template
public function adopt(Template $template, $position = 'end')
{
// By default, we append it.
if ($position == 'end')
if ($position === 'end')
$this->_subtemplates[] = $template;
// We can also add it to the beginning of the list, though.
else