From 99a1aacee97e03eb11285a5398da83de23e73f42 Mon Sep 17 00:00:00 2001 From: mscherer Date: Thu, 2 Apr 2026 12:56:25 +0200 Subject: [PATCH] Fix bakeTest() code example in documentation - Remove invalid return statement from void method - Add missing $args and $io parameters to parent call - Fix "appened" typo -> "appended" --- docs/en/development.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/development.rst b/docs/en/development.rst index 9cbcc3f8..5abcda45 100644 --- a/docs/en/development.rst +++ b/docs/en/development.rst @@ -314,10 +314,10 @@ command name:: $this->Test->classTypes[$name] = 'Foo'; } - return parent::bakeTest($className); + parent::bakeTest($className, $args, $io); } -* The **class suffix** will be appened to the name provided in your ``bake`` +* The **class suffix** will be appended to the name provided in your ``bake`` call. In the previous example, it would create a ``ExampleFooTest.php`` file. * The **class type** will be the sub-namespace used that will lead to your file (relative to the app or the plugin you are baking into). In the previous