mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
Spelling fixes
This commit is contained in:
committed by
Michael Grunder
parent
e18f6c6d9e
commit
0d89e92889
+3
-3
@@ -2268,7 +2268,7 @@ static void cluster_kscan_cmd(INTERNAL_FUNCTION_PARAMETERS,
|
||||
HashTable *hash;
|
||||
long num_ele;
|
||||
zend_long count = 0;
|
||||
zend_bool complted;
|
||||
zend_bool completed;
|
||||
uint64_t cursor;
|
||||
|
||||
// Can't be in MULTI mode
|
||||
@@ -2288,8 +2288,8 @@ static void cluster_kscan_cmd(INTERNAL_FUNCTION_PARAMETERS,
|
||||
c->readonly = 1;
|
||||
|
||||
/* Get our scan cursor and return early if we're done */
|
||||
cursor = redisGetScanCursor(z_it, &complted);
|
||||
if (complted)
|
||||
cursor = redisGetScanCursor(z_it, &completed);
|
||||
if (completed)
|
||||
RETURN_FALSE;
|
||||
|
||||
// Apply any key prefix we have, get the slot
|
||||
|
||||
+3
-3
@@ -2277,9 +2277,9 @@ class Redis_Test extends TestSuite {
|
||||
|
||||
// Figure out which ip:port is us!
|
||||
$address = NULL;
|
||||
foreach($clients as $cleint) {
|
||||
if ($cleint['name'] == 'phpredis_unit_tests') {
|
||||
$address = $cleint['addr'];
|
||||
foreach($clients as $client) {
|
||||
if ($client['name'] == 'phpredis_unit_tests') {
|
||||
$address = $client['addr'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -349,7 +349,7 @@ class TestSuite
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Replica of PHPUnit's assertion. Basically are two arrys the same without
|
||||
/* Replica of PHPUnit's assertion. Basically are two arrays the same without
|
||||
' respect to order. */
|
||||
protected function assertEqualsCanonicalizing($expected, $actual, $keep_keys = false): bool {
|
||||
if ($expected InstanceOf Traversable)
|
||||
|
||||
Reference in New Issue
Block a user