Skip to content

Commit 3ae4458

Browse files
committed
typos
1 parent 38bc499 commit 3ae4458

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

tests/system/Config/BaseConfigTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,16 +334,16 @@ public function testMergeByKeyDeepMerges(): void
334334
$config = new MergeRegistrarConfig();
335335
$this->registerMerge($config, [MergeRegistrar::class]);
336336

337-
// Example A siblings preserved.
337+
// Example A - siblings preserved.
338338
$this->assertSame([
339339
'key1' => 'val1',
340340
'key2' => ['val2' => 'subVal2', 'val3' => 'subVal3', 'val4' => 'subVal4'],
341341
], $config->arrayNested);
342342

343-
// Example B list grows.
343+
// Example B - list grows.
344344
$this->assertSame(['superadmin' => ['admin.access', 'shippinglabel-logos.*']], $config->matrix);
345345

346-
// Example C nested directives resolved.
346+
// Example C - nested directives resolved.
347347
$this->assertSame(['before' => ['csrf', 'blogFilter'], 'after' => []], $config->globals);
348348
}
349349

@@ -379,7 +379,7 @@ public function testMultipleRegistrarsOnSameProperty(): void
379379

380380
// append() accumulates in registrar (discovery) order.
381381
$this->assertSame(['a', 'b', 'x', 'y'], $config->list);
382-
// competing replace() calls resolve in registrar order last wins.
382+
// competing replace() calls resolve in registrar order - last wins.
383383
$this->assertSame('memcached', $config->handler);
384384
}
385385

tests/system/Config/MergeTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public function testAfterDeDupsWithinPayloadPreservingOrder(): void
157157

158158
public function testAfterPerValueMix(): void
159159
{
160-
// auth present (moved), newFilter absent (inserted) as one block after csrf.
160+
// auth present (moved), newFilter absent (inserted) - as one block after csrf.
161161
$base = ['csrf', 'auth', 'toolbar'];
162162
$this->assertSame(
163163
['csrf', 'auth', 'newFilter', 'toolbar'],
@@ -240,7 +240,7 @@ public function testAfterRejectsAnchorInPayload(): void
240240

241241
public function testByKeyStringKeysRecurse(): void
242242
{
243-
// Example A siblings preserved.
243+
// Example A - siblings preserved.
244244
$current = [
245245
'key1' => 'val1',
246246
'key2' => ['val2' => 'subVal2', 'val3' => 'subVal3'],
@@ -257,7 +257,7 @@ public function testByKeyStringKeysRecurse(): void
257257

258258
public function testByKeyIntegerKeysAppend(): void
259259
{
260-
// Example B Shield matrix superadmin list grows.
260+
// Example B - Shield matrix superadmin list grows.
261261
$current = ['superadmin' => ['admin.access']];
262262
$result = $this->apply($current, Merge::byKey([
263263
'superadmin' => ['shippinglabel-logos.*'],
@@ -273,7 +273,7 @@ public function testByKeyScalarLeafReplace(): void
273273

274274
public function testByKeyNestedDirectives(): void
275275
{
276-
// Example C nested append()/replace() resolved, untouched sibling kept.
276+
// Example C - nested append()/replace() resolved, untouched sibling kept.
277277
$current = [
278278
'before' => ['csrf'],
279279
'after' => ['toolbar'],

0 commit comments

Comments
 (0)