Commit 1fc32361 authored by Chris Burschka's avatar Chris Burschka
Browse files

Issue #3113136: Declare closures static (EA inspection).

parent 38c4db04
Loading
Loading
Loading
Loading
+2 −2
Changes for tests/src/Unit/FileLogTest.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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;
        }
      );