Skip to content

Commit 78796d8

Browse files
committed
cs
1 parent 2ba7e8b commit 78796d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Caching/Storages/FileStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class FileStorage implements Nette\Caching\Storage
3232
/** @internal cache file structure: meta-struct size + serialized meta-struct + data */
3333
private const
3434
MetaHeaderLen = 6,
35-
// meta structure: array of
35+
// meta structure: array of
3636
MetaTime = 'time', // timestamp
3737
MetaSerialized = 'serialized', // is content serialized?
3838
MetaExpire = 'expire', // expiration timestamp

tests/bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ function getTempDir(): string
2020
{
2121
$dir = __DIR__ . '/tmp/' . getmypid();
2222

23-
if (empty($GLOBALS['\\lock'])) {
23+
if (empty($GLOBALS['\lock'])) {
2424
// garbage collector
25-
$GLOBALS['\\lock'] = $lock = fopen(__DIR__ . '/lock', 'w');
25+
$GLOBALS['\lock'] = $lock = fopen(__DIR__ . '/lock', 'w');
2626
if (rand(0, 100)) {
2727
flock($lock, LOCK_SH);
2828
@mkdir(dirname($dir));

0 commit comments

Comments
 (0)