Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d89e92

Browse files
Spelling fixes
1 parente18f6c6 commit0d89e92

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

‎redis_cluster.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,7 +2268,7 @@ static void cluster_kscan_cmd(INTERNAL_FUNCTION_PARAMETERS,
22682268
HashTable*hash;
22692269
longnum_ele;
22702270
zend_longcount=0;
2271-
zend_boolcomplted;
2271+
zend_boolcompleted;
22722272
uint64_tcursor;
22732273

22742274
// Can't be in MULTI mode
@@ -2288,8 +2288,8 @@ static void cluster_kscan_cmd(INTERNAL_FUNCTION_PARAMETERS,
22882288
c->readonly=1;
22892289

22902290
/* Get our scan cursor and return early if we're done */
2291-
cursor=redisGetScanCursor(z_it,&complted);
2292-
if (complted)
2291+
cursor=redisGetScanCursor(z_it,&completed);
2292+
if (completed)
22932293
RETURN_FALSE;
22942294

22952295
// Apply any key prefix we have, get the slot

‎tests/RedisTest.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,9 +2277,9 @@ public function testClient() {
22772277

22782278
// Figure out which ip:port is us!
22792279
$address =NULL;
2280-
foreach($clientsas$cleint) {
2281-
if ($cleint['name'] =='phpredis_unit_tests') {
2282-
$address =$cleint['addr'];
2280+
foreach($clientsas$client) {
2281+
if ($client['name'] =='phpredis_unit_tests') {
2282+
$address =$client['addr'];
22832283
}
22842284
}
22852285

‎tests/TestSuite.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ protected function assertBetween($value, $min, $max, bool $exclusive = false): b
349349
returnfalse;
350350
}
351351

352-
/* Replica of PHPUnit's assertion. Basically are twoarrys the same without
352+
/* Replica of PHPUnit's assertion. Basically are twoarrays the same without
353353
' respect to order. */
354354
protectedfunctionassertEqualsCanonicalizing($expected,$actual,$keep_keys =false):bool {
355355
if ($expectedInstanceOf Traversable)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp