diff --git a/source/Mocka/ClassMock.php b/source/Mocka/ClassMock.php
index <HASH>..<HASH> 100644
--- a/source/Mocka/ClassMock.php
+++ b/source/Mocka/ClassMock.php
@@ -177,8 +177,9 @@ class ClassMock {
         }
 
         $reflectionTrait = new \ReflectionClass('\\Mocka\\ClassTrait');
-        return array_filter($methods, function (\ReflectionMethod $reflectionMethod) use ($reflectionTrait) {
+        $methods = array_filter($methods, function (\ReflectionMethod $reflectionMethod) use ($reflectionTrait) {
             return !$reflectionMethod->isPrivate() && !$reflectionMethod->isFinal() && !$reflectionTrait->hasMethod($reflectionMethod->getName());
         });
+        return $methods;
     }
 }
Be more specific what is returned/filtered