File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ public function bulkRead(array $keys): array
7575
7676 public function bulkRemove (array $ keys ): void
7777 {
78-
7978 }
8079
8180
Original file line number Diff line number Diff 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 ));
You can’t perform that action at this time.
0 commit comments