Skip to content

Commit 0f57f2e

Browse files
wouterjnicolas-grekas
authored andcommitted
Add missing return types and enforce return types on all methods
1 parent 7d8aec3 commit 0f57f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataCollector/TwigDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function getProfile(): Profile
134134
return $this->profile ??= unserialize($this->data['profile'], ['allowed_classes' => ['Twig_Profiler_Profile', Profile::class]]);
135135
}
136136

137-
private function getComputedData(string $index)
137+
private function getComputedData(string $index): mixed
138138
{
139139
$this->computed ??= $this->computeData($this->getProfile());
140140

0 commit comments

Comments
 (0)