Merge pull request #35 from marijnkampf/sapphire

---

MINOR Updated return types for createTag and describe in documentation
This commit is contained in:
Ingo Schommer 2011-07-04 09:41:15 +02:00
commit ac537ee18d

3
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,8 @@ 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;