Skip to content

Commit 2f15268

Browse files
Add some missing return types to internal/final classes
1 parent 1ccb6ba commit 2f15268

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

DataCollector/TwigDataCollector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
use Twig\Profiler\Profile;
2323

2424
/**
25-
* TwigDataCollector.
26-
*
2725
* @author Fabien Potencier <[email protected]>
2826
*
2927
* @final
@@ -198,7 +196,7 @@ private function computeData(Profile $profile)
198196
/**
199197
* {@inheritdoc}
200198
*/
201-
public function getName()
199+
public function getName(): string
202200
{
203201
return 'twig';
204202
}

0 commit comments

Comments
 (0)