Skip to content

Commit 573e22c

Browse files
committed
Fix CS
1 parent c85c6ca commit 573e22c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/FunctionalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testIsCached()
2929
$twig = $this->createEnvironment(['index' => '{% cache "city;v1" %}{{- city -}}{% endcache %}'], $cache);
3030

3131
$this->assertSame('Paris', $twig->render('index', ['city' => 'Paris']));
32-
$value = $cache->get('city;v1', function () { throw new \RuntimeException('Key should be in the cache'); });
32+
$value = $cache->get('city;v1', static function () { throw new \RuntimeException('Key should be in the cache'); });
3333
$this->assertSame('Paris', $value);
3434
}
3535

0 commit comments

Comments
 (0)