Skip to content

Commit f8f05e7

Browse files
committed
[Profiler] relax return type for memory data collector
1 parent 52f997f commit f8f05e7

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)