Skip to content

Commit 3e0f5b1

Browse files
jschaedlGuikingone
authored andcommitted
s/bahavior/behavior
1 parent 2136c8d commit 3e0f5b1

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)