diff --git a/src/GpsLabPaginationBundle.php b/src/GpsLabPaginationBundle.php index 53eee8a..fd228b4 100644 --- a/src/GpsLabPaginationBundle.php +++ b/src/GpsLabPaginationBundle.php @@ -20,7 +20,7 @@ class GpsLabPaginationBundle extends Bundle */ public function getContainerExtension() { - if ($this->extension === null) { + if (!($this->extension instanceof GpsLabPaginationExtension)) { $this->extension = new GpsLabPaginationExtension(); }