Skip to content

Commit 1f007d2

Browse files
committed
bug #44809 [WebProfilerBundle] relax return type for memory data collector (94noni)
This PR was merged into the 5.4 branch. Discussion ---------- [WebProfilerBundle] relax return type for memory data collector | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix symfony/symfony#44397 | License | MIT Commits ------- 9ad5b60cde [Profiler] relax return type for memory data collector
2 parents 3bfe9cd + f8f05e7 commit 1f007d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

DataCollector/MemoryDataCollector.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ public function getMemory(): int
5858
return $this->data['memory'];
5959
}
6060

61-
public function getMemoryLimit(): int
61+
/**
62+
* @return int|float
63+
*/
64+
public function getMemoryLimit()
6265
{
6366
return $this->data['memory_limit'];
6467
}

0 commit comments

Comments
 (0)