Loading tests/src/Unit/FileLogTest.php +2 −2 Changes for tests/src/Unit/FileLogTest.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -105,13 +105,13 @@ class FileLogTest extends UnitTestCase { $state = $this->createMock(StateInterface::class); $state->method('get') ->willReturnCallback( function ($key) use (&$state_data) { static function ($key) use (&$state_data) { return $state_data[$key]; } ); $state->method('set') ->willReturnCallback( function ($key, $value) use (&$state_data) { static function ($key, $value) use (&$state_data) { $state_data[$key] = $value; } ); Loading Loading
tests/src/Unit/FileLogTest.php +2 −2 Changes for tests/src/Unit/FileLogTest.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -105,13 +105,13 @@ class FileLogTest extends UnitTestCase { $state = $this->createMock(StateInterface::class); $state->method('get') ->willReturnCallback( function ($key) use (&$state_data) { static function ($key) use (&$state_data) { return $state_data[$key]; } ); $state->method('set') ->willReturnCallback( function ($key, $value) use (&$state_data) { static function ($key, $value) use (&$state_data) { $state_data[$key] = $value; } ); Loading