diff --git a/src/Patchwork/Controller/AdminController.php b/src/Patchwork/Controller/AdminController.php
index <HASH>..<HASH> 100644
--- a/src/Patchwork/Controller/AdminController.php
+++ b/src/Patchwork/Controller/AdminController.php
@@ -20,7 +20,7 @@ class AdminController implements ControllerProviderInterface
 
     public static function getInstanceFor($class)
     {
-        $instance = new self();
+        $instance = new static();
         $instance->class = $class;
 
         return $instance;
diff --git a/src/Patchwork/Controller/ApiController.php b/src/Patchwork/Controller/ApiController.php
index <HASH>..<HASH> 100644
--- a/src/Patchwork/Controller/ApiController.php
+++ b/src/Patchwork/Controller/ApiController.php
@@ -16,7 +16,7 @@ class ApiController implements ControllerProviderInterface
 
     public static function getInstanceFor($class)
     {
-        $instance = new self();
+        $instance = new static();
         $instance->class = $class;
 
         return $instance;
corrected inheritance bug for admin/api controllers