Updated return types for createTag and describe in documentation

This commit is contained in:
Marijn Kampf 2011-06-08 23:29:01 -07:00
parent 490fd01213
commit 047d256792

2
forms/FormField.php Executable file → Normal file
View File

@ -555,6 +555,7 @@ HTML;
/**
* Construct and return HTML tag.
*
* @return string HTML tag
* @todo Transform to static helper method.
*/
function createTag($tag, $attributes, $content = null) {
@ -591,6 +592,7 @@ HTML;
* Describe this field, provide help text for it.
* The function returns this so it can be used like this:
* $action = FormAction::create('submit', 'Submit')->describe("Send your changes to be approved")
* @return string Description
*/
function describe($description) {
$this->description = $description;