Skip to content

Commit 8913079

Browse files
committed
Fix the use of the codebox() macro in cache documentation
1 parent 472ee0d commit 8913079

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/php/api/caches_persistent-caches.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ that already implements the mandatory interface [ICacheBuilder](https://github.c
2727

2828

2929
{jinja{ codebox(
30-
"php",
31-
"php/api/caches/ExampleCacheBuilder.class.php",
32-
"files/lib/system/cache/builder/ExampleCacheBuilder.class.php"
30+
title="files/lib/system/cache/builder/ExampleCacheBuilder.class.php",
31+
language="php",
32+
filepath="php/api/caches/ExampleCacheBuilder.class.php",
3333
) }}
3434

3535
Reading data from your cache builder is quite simple and follows a consistent

docs/php/api/caches_runtime-caches.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ $users = UserRuntimeCache::getInstance()->getObjects([3, 4]);
5050
## Example
5151

5252
{jinja{ codebox(
53-
"php",
54-
"php/api/caches/UserRuntimeCache.class.php",
55-
"files/lib/system/cache/runtime/UserRuntimeCache.class.php"
53+
title="files/lib/system/cache/runtime/UserRuntimeCache.class.php",
54+
language="php",
55+
filepath="php/api/caches/UserRuntimeCache.class.php",
5656
) }}

0 commit comments

Comments
 (0)