|
|
@@ -490,12 +490,12 @@ class FormHelper extends Helper
|
|
|
* Closes an HTML form, cleans up values set by FormHelper::create(), and writes hidden
|
|
|
* input fields where appropriate.
|
|
|
*
|
|
|
- * @param array $secureAttributes will be passed as html attributes into the hidden input elements generated for the
|
|
|
- * Security Component.
|
|
|
+ * @param array $secureAttributes Secure attibutes which will be passed as HTML attributes
|
|
|
+ * into the hidden input elements generated for the Security Component.
|
|
|
* @return string A closing FORM tag.
|
|
|
* @link http://book.cakephp.org/3.0/en/views/helpers/form.html#closing-the-form
|
|
|
*/
|
|
|
- public function end($secureAttributes = [])
|
|
|
+ public function end(array $secureAttributes = [])
|
|
|
{
|
|
|
$out = '';
|
|
|
if ($this->requestType !== 'get' &&
|