Use triple-equals in a few more places
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user