Commit 9b4b3b67 by Qiang Xue

typos. [skip ci]

parent cb66c926
...@@ -8,7 +8,7 @@ and [content caching](caching-content.md). ...@@ -8,7 +8,7 @@ and [content caching](caching-content.md).
The following code is a typical usage pattern of data caching, where `$cache` refers to The following code is a typical usage pattern of data caching, where `$cache` refers to
a [cache component](#cache-components): a [cache component](#cache-components):
``` ```php
// try retrieving $data from cache // try retrieving $data from cache
$data = $cache->get($key); $data = $cache->get($key);
......
...@@ -52,6 +52,7 @@ the page modification time. The signature of the PHP callable should be as follo ...@@ -52,6 +52,7 @@ the page modification time. The signature of the PHP callable should be as follo
* @param Action $action the action object that is being handled currently * @param Action $action the action object that is being handled currently
* @param array $params the value of the "params" property * @param array $params the value of the "params" property
* @return integer a UNIX timestamp representing the page modification time * @return integer a UNIX timestamp representing the page modification time
*/
function ($action, $params) function ($action, $params)
``` ```
...@@ -70,6 +71,7 @@ should be as follows, ...@@ -70,6 +71,7 @@ should be as follows,
* @param Action $action the action object that is being handled currently * @param Action $action the action object that is being handled currently
* @param array $params the value of the "params" property * @param array $params the value of the "params" property
* @return string a string used as the seed for generating an ETag hash * @return string a string used as the seed for generating an ETag hash
*/
function ($action, $params) function ($action, $params)
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment