From 6956f61fba1383353db85d23bbcfa437c9f162c9 Mon Sep 17 00:00:00 2001 From: Glebka Fokin Date: Thu, 29 Aug 2024 11:11:36 +0700 Subject: [PATCH] Fix typo: Bbefore -> Before --- docs/AdvancedUsage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/AdvancedUsage.md b/docs/AdvancedUsage.md index 71e116baa..5d4eee7eb 100644 --- a/docs/AdvancedUsage.md +++ b/docs/AdvancedUsage.md @@ -318,9 +318,9 @@ class PageCest ## Before/After Attributes -You can control execution flow with `#[Bbefore]` and `#[After]` attributes. You may move common actions +You can control execution flow with `#[Before]` and `#[After]` attributes. You may move common actions into protected (non-test) methods and invoke them before or after the test method by putting them into attributes. -It is possible to invoke several methods by using more than one `#[Bbefore]` or `#[After]` attribute. +It is possible to invoke several methods by using more than one `#[Before]` or `#[After]` attribute. Methods are invoked in order from top to bottom. ```php