1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-20 11:51:32 +02:00

Move phpdoc to native types

This commit is contained in:
Jordi Boggiano
2022-04-20 09:21:58 +02:00
parent 2695fa86cd
commit 7952a83e0c
117 changed files with 432 additions and 766 deletions

View File

@@ -261,9 +261,8 @@ STRING;
/**
* @dataProvider provideMemoryValues
* @return void
*/
public function testPreventOOMError($phpMemory, $expectedChunkSize)
public function testPreventOOMError($phpMemory, $expectedChunkSize): void
{
$previousValue = ini_set('memory_limit', $phpMemory);
@@ -287,10 +286,7 @@ STRING;
$this->assertEquals($expectedChunkSize, $handler->getStreamChunkSize());
}
/**
* @return void
*/
public function testSimpleOOMPrevention()
public function testSimpleOOMPrevention(): void
{
$previousValue = ini_set('memory_limit', '2048M');