Skip to content

Commit 970f37f

Browse files
authored
Merge pull request #1078 from cakephp/docs-fix-baketest-method
Fix bakeTest() code example in documentation
2 parents a2dcfa5 + 99a1aac commit 970f37f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/development.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,10 @@ command name::
314314
$this->Test->classTypes[$name] = 'Foo';
315315
}
316316

317-
return parent::bakeTest($className);
317+
parent::bakeTest($className, $args, $io);
318318
}
319319

320-
* The **class suffix** will be appened to the name provided in your ``bake``
320+
* The **class suffix** will be appended to the name provided in your ``bake``
321321
call. In the previous example, it would create a ``ExampleFooTest.php`` file.
322322
* The **class type** will be the sub-namespace used that will lead to your
323323
file (relative to the app or the plugin you are baking into). In the previous

0 commit comments

Comments
 (0)