Skip to content

Commit 7fba7c7

Browse files
committed
coding style
1 parent 53a6e5e commit 7fba7c7

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/Caching/Cache.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class Cache
1818
use Nette\SmartObject;
1919

2020
/** dependency */
21-
const PRIORITY = 'priority',
21+
const
22+
PRIORITY = 'priority',
2223
EXPIRATION = 'expire',
2324
EXPIRE = 'expire',
2425
SLIDING = 'sliding',

src/Caching/Storages/FileStorage.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class FileStorage implements Nette\Caching\IStorage
3030
*/
3131

3232
/** @internal cache file structure */
33-
const META_HEADER_LEN = 28, // 22b signature + 6b meta-struct size + serialized meta-struct + data
34-
// meta structure: array of
33+
const
34+
META_HEADER_LEN = 28, // 22b signature + 6b meta-struct size + serialized meta-struct + data
3535
META_TIME = 'time', // timestamp
3636
META_SERIALIZED = 'serialized', // is content serialized?
3737
META_EXPIRE = 'expire', // expiration timestamp

src/Caching/Storages/MemcachedStorage.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ class MemcachedStorage implements Nette\Caching\IStorage
1919
use Nette\SmartObject;
2020

2121
/** @internal cache structure */
22-
const META_CALLBACKS = 'callbacks',
22+
const
23+
META_CALLBACKS = 'callbacks',
2324
META_DATA = 'data',
2425
META_DELTA = 'delta';
2526

src/Caching/Storages/NewMemcachedStorage.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ class NewMemcachedStorage implements Nette\Caching\IStorage, Nette\Caching\IBulk
1919
use Nette\SmartObject;
2020

2121
/** @internal cache structure */
22-
const META_CALLBACKS = 'callbacks',
22+
const
23+
META_CALLBACKS = 'callbacks',
2324
META_DATA = 'data',
2425
META_DELTA = 'delta';
2526

0 commit comments

Comments
 (0)