diff --git a/lib/Twig/Profiler/Profile.php b/lib/Twig/Profiler/Profile.php index aabf551e8..3fdc1a8ae 100644 --- a/lib/Twig/Profiler/Profile.php +++ b/lib/Twig/Profiler/Profile.php @@ -76,7 +76,7 @@ class Twig_Profiler_Profile implements IteratorAggregate, Serializable return $this->profiles; } - public function addProfile(self $profile) + public function addProfile(Twig_Profiler_Profile $profile) { $this->profiles[] = $profile; }