diff --git a/src/Entity/Browser/Container/Page.php b/src/Entity/Browser/Container/Page.php index 6d3c054..ca1fef5 100644 --- a/src/Entity/Browser/Container/Page.php +++ b/src/Entity/Browser/Container/Page.php @@ -188,7 +188,7 @@ class Page ); // Refresh header by new title if current page is active - if ($this == $this->container->tab->getPage()) + if ($this === $this->container->tab->getPage()) { $this->container->browser->header->setTitle( $this->title->getValue(), @@ -222,7 +222,7 @@ class Page ); // Refresh header by new title if current page is active - if ($this == $this->container->tab->getPage()) + if ($this === $this->container->tab->getPage()) { $this->container->browser->header->setTitle( $this->title->getValue(), @@ -255,7 +255,7 @@ class Page ); // Refresh header by new title if current page is active - if ($this == $this->container->tab->getPage()) + if ($this === $this->container->tab->getPage()) { $this->container->browser->header->setTitle( $this->title->getValue() diff --git a/src/Entity/Browser/Container/Page/Content.php b/src/Entity/Browser/Container/Page/Content.php index 4b54cf7..fe640db 100644 --- a/src/Entity/Browser/Container/Page/Content.php +++ b/src/Entity/Browser/Container/Page/Content.php @@ -90,7 +90,7 @@ class Content ); // Refresh header by new title if current page is active - if ($this->page == $this->page->container->tab->getPage()) + if ($this->page === $this->page->container->tab->getPage()) { $this->page->container->browser->header->setTitle( $this->page->title->getValue(),