Spelling fixes

This commit is contained in:
michael-grunder
2024-05-28 20:39:58 -07:00
committed by Michael Grunder
parent e18f6c6d9e
commit 0d89e92889
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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
View File
@@ -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
View File
@@ -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)