Skip to content

Commit 418e9fe

Browse files
committed
Merge branch '4.4'
* 4.4: s/bahavior/behavior
2 parents 12184f7 + 76717bc commit 418e9fe

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
@@ -686,7 +686,7 @@ toggle a behavior::
686686
public function hello(): string
687687
{
688688
if (class_exists(DependencyClass::class)) {
689-
return 'The dependency bahavior.';
689+
return 'The dependency behavior.';
690690
}
691691

692692
return 'The default behavior.';
@@ -704,7 +704,7 @@ are installed during tests) would look like::
704704
public function testHello()
705705
{
706706
$class = new MyClass();
707-
$result = $class->hello(); // "The dependency bahavior."
707+
$result = $class->hello(); // "The dependency behavior."
708708

709709
// ...
710710
}
@@ -728,7 +728,7 @@ classes, interfaces and/or traits for the code to run::
728728
ClassExistsMock::withMockedClasses([DependencyClass::class => false]);
729729

730730
$class = new MyClass();
731-
$result = $class->hello(); // "The default bahavior."
731+
$result = $class->hello(); // "The default behavior."
732732

733733
// ...
734734
}

0 commit comments

Comments
 (0)