Browse Source

More typos fixes

ADmad 11 years ago
parent
commit
22fb3adf0d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/View/Helper/FormHelper.php
  2. 1 1
      tests/TestCase/View/Helper/FormHelperTest.php

+ 1 - 1
src/View/Helper/FormHelper.php

@@ -213,7 +213,7 @@ class FormHelper extends Helper {
 	}
 
 /**
- * Set the wiget registry the helper will use.
+ * Set the widget registry the helper will use.
  *
  * @param \Cake\View\Widget\WidgetRegistry $instance The registry instance to set.
  * @param array $widgets An array of widgets

+ 1 - 1
tests/TestCase/View/Helper/FormHelperTest.php

@@ -209,7 +209,7 @@ class FormHelperTest extends TestCase {
  *
  * @return void
  */
-	public function testConstructWithWigets() {
+	public function testConstructWithWidgets() {
 		$expected = [
 			'button' => ['Cake\View\Widget\ButtonWidget'],
 			'checkbox' => ['Cake\View\Widget\CheckboxWidget'],