Skip to content

Commit 297e801

Browse files
committed
minor #12578 s/bahavior/behavior (jschaedl)
This PR was merged into the 4.3 branch. Discussion ---------- s/bahavior/behavior <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 7fcf681 s/bahavior/behavior
2 parents cf9850c + 7fcf681 commit 297e801

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/phpunit_bridge.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ toggle a behavior::
621621
public function hello(): string
622622
{
623623
if (class_exists(DependencyClass::class)) {
624-
return 'The dependency bahavior.';
624+
return 'The dependency behavior.';
625625
}
626626

627627
return 'The default behavior.';
@@ -639,7 +639,7 @@ are installed during tests) would look like::
639639
public function testHello()
640640
{
641641
$class = new MyClass();
642-
$result = $class->hello(); // "The dependency bahavior."
642+
$result = $class->hello(); // "The dependency behavior."
643643

644644
// ...
645645
}
@@ -663,7 +663,7 @@ classes, interfaces and/or traits for the code to run::
663663
ClassExistsMock::withMockedClasses([DependencyClass::class => false]);
664664

665665
$class = new MyClass();
666-
$result = $class->hello(); // "The default bahavior."
666+
$result = $class->hello(); // "The default behavior."
667667

668668
// ...
669669
}

0 commit comments

Comments
 (0)