Skip to content

Commit 76717bc

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: s/bahavior/behavior
2 parents 3d6c1eb + 297e801 commit 76717bc

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
@@ -702,7 +702,7 @@ toggle a behavior::
702702
public function hello(): string
703703
{
704704
if (class_exists(DependencyClass::class)) {
705-
return 'The dependency bahavior.';
705+
return 'The dependency behavior.';
706706
}
707707

708708
return 'The default behavior.';
@@ -720,7 +720,7 @@ are installed during tests) would look like::
720720
public function testHello()
721721
{
722722
$class = new MyClass();
723-
$result = $class->hello(); // "The dependency bahavior."
723+
$result = $class->hello(); // "The dependency behavior."
724724

725725
// ...
726726
}
@@ -744,7 +744,7 @@ classes, interfaces and/or traits for the code to run::
744744
ClassExistsMock::withMockedClasses([DependencyClass::class => false]);
745745

746746
$class = new MyClass();
747-
$result = $class->hello(); // "The default bahavior."
747+
$result = $class->hello(); // "The default behavior."
748748

749749
// ...
750750
}

0 commit comments

Comments
 (0)