Skip to content

Commit fa1b331

Browse files
committed
minor symfony#61787 Fix various typo (GromNaN)
This PR was merged into the 7.4 branch. Discussion ---------- Fix various typo | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Using [codespell](https://github.com/symfony-tools/fabbot/blob/96dfbd317e87d2b8cd15defdb4adbd7b50d81ddb/.github/workflows/fabbot.yml#L70C11-L70C98) to detect typos. Commits ------- ffc049c Fix various typo
2 parents 9c99c36 + ffc049c commit fa1b331

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function save(): void
103103
$this->data = $data;
104104
}
105105

106-
// this is needed when the session object is re-used across multiple requests
106+
// this is needed when the session object is reused across multiple requests
107107
// in functional tests.
108108
$this->started = false;
109109
}

src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ private function validateAndDenormalizeLegacy(array $types, string $currentClass
459459

460460
// This try-catch should cover all NotNormalizableValueException (and all return branches after the first
461461
// exception) so we could try denormalizing all types of an union type. If the target type is not an union
462-
// type, we will just re-throw the catched exception.
462+
// type, we will just re-throw the caught exception.
463463
// In the case of no denormalization succeeds with an union type, it will fall back to the default exception
464464
// with the acceptable types list.
465465
try {

src/Symfony/Component/Workflow/Tests/Dumper/MermaidDumperTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ public static function provideWorkflowWithReservedWords(): iterable
141141
{
142142
$builder = new DefinitionBuilder();
143143

144-
$builder->addPlaces(['start', 'subgraph', 'end', 'finis']);
144+
$builder->addPlaces(['start', 'subgraph', 'end', 'finish']);
145145
$builder->addTransitions([
146146
new Transition('t0', ['start', 'subgraph'], ['end']),
147-
new Transition('t1', ['end'], ['finis']),
147+
new Transition('t1', ['end'], ['finish']),
148148
]);
149149

150150
$definition = $builder->build();
@@ -155,7 +155,7 @@ public static function provideWorkflowWithReservedWords(): iterable
155155
."place0([\"start\"])\n"
156156
."place1((\"subgraph\"))\n"
157157
."place2((\"end\"))\n"
158-
."place3((\"finis\"))\n"
158+
."place3((\"finish\"))\n"
159159
."transition0[\"t0\"]\n"
160160
."place0-->transition0\n"
161161
."transition0-->place2\n"

0 commit comments

Comments
 (0)