Skip to content

Commit e29843a

Browse files
committed
Convert wp cache subcommand help summaries to use third-person singular verbs.
1 parent 9c3d686 commit e29843a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/Cache_Command.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Manipulate the WP Object Cache object.
4+
* Manipulates the WP Object Cache object.
55
*
66
* By default, the WP Object Cache exists in PHP memory for the length of the
77
* request (and is emptied at the end). Use a persistent object cache drop-in
@@ -25,7 +25,7 @@
2525
class Cache_Command extends WP_CLI_Command {
2626

2727
/**
28-
* Add a value to the object cache.
28+
* Adds a value to the object cache.
2929
*
3030
* Errors if a value already exists for the key, which means the value can't
3131
* be added.
@@ -67,7 +67,7 @@ public function add( $args, $assoc_args ) {
6767
}
6868

6969
/**
70-
* Decrement a value in the object cache.
70+
* Decrements a value in the object cache.
7171
*
7272
* Errors if the value can't be decremented.
7373
*
@@ -106,7 +106,7 @@ public function decr( $args, $assoc_args ) {
106106
}
107107

108108
/**
109-
* Remove a value from the object cache.
109+
* Removes a value from the object cache.
110110
*
111111
* Errors if the value can't be deleted.
112112
*
@@ -139,7 +139,7 @@ public function delete( $args, $assoc_args ) {
139139
}
140140

141141
/**
142-
* Flush the object cache.
142+
* Flushes the object cache.
143143
*
144144
* For WordPress multisite instances using a persistent object cache,
145145
* flushing the object cache will typically flush the cache for all sites.
@@ -165,7 +165,7 @@ public function flush( $args, $assoc_args ) {
165165
}
166166

167167
/**
168-
* Get a value from the object cache.
168+
* Gets a value from the object cache.
169169
*
170170
* Errors if the value doesn't exist.
171171
*
@@ -198,7 +198,7 @@ public function get( $args, $assoc_args ) {
198198
}
199199

200200
/**
201-
* Increment a value in the object cache.
201+
* Increments a value in the object cache.
202202
*
203203
* Errors if the value can't be incremented.
204204
*
@@ -237,7 +237,7 @@ public function incr( $args, $assoc_args ) {
237237
}
238238

239239
/**
240-
* Replace a value in the object cache, if the value already exists.
240+
* Replaces a value in the object cache, if the value already exists.
241241
*
242242
* Errors if the value can't be replaced.
243243
*
@@ -279,7 +279,7 @@ public function replace( $args, $assoc_args ) {
279279
}
280280

281281
/**
282-
* Set a value to the object cache, regardless of whether it already exists.
282+
* Sets a value to the object cache, regardless of whether it already exists.
283283
*
284284
* Errors if the value can't be set.
285285
*

0 commit comments

Comments
 (0)