From cf5577234f625afdb2ee3ae51b8a4a96d5af4f81 Mon Sep 17 00:00:00 2001 From: Dario Savella Date: Fri, 15 Mar 2019 18:50:26 +0100 Subject: [PATCH] PHPCS typos fixed --- lib/Cake/Test/Case/View/Helper/FormHelperTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php index 43c1e68d1..4aa6c66fb 100644 --- a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php @@ -2093,10 +2093,10 @@ class FormHelperTest extends CakeTestCase { $Contact = ClassRegistry::getObject('Contact'); $Contact->validationErrors['password'] = array('Please provide a password'); - $result = $this->Form->input('Contact.password',array( + $result = $this->Form->input('Contact.password', array( 'error' => array( - 'attributes' => array('class' => 'special-error-class'), - ) + 'attributes' => array('class' => 'special-error-class'), + ) )); $expected = array( 'div' => array('class' => 'input password error'), @@ -2115,7 +2115,7 @@ class FormHelperTest extends CakeTestCase { $this->assertTags($result, $expected); $Contact->validationErrors['password'] = array('Please provide a password
otherwise you will not be able to login'); - $result = $this->Form->input('Contact.password',array( + $result = $this->Form->input('Contact.password', array( 'error' => array( 'attributes' => array( 'class' => 'special-error-class',