From d8a8cbfb924c8da78687bd298d5fde5e2467c613 Mon Sep 17 00:00:00 2001 From: phpnut Date: Sat, 10 Feb 2007 08:17:39 +0000 Subject: [PATCH] Fixing typo, those happen when you are in a coma git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4497 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/object.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/libs/object.php b/cake/libs/object.php index 15ef1feb6..10f4e88d1 100644 --- a/cake/libs/object.php +++ b/cake/libs/object.php @@ -77,7 +77,7 @@ class Object{ /** * Return a value from an array list if the key exists. * - * If a coma separated $list is passed arrays are numeric with the key of the first being 0 + * If a comma separated $list is passed arrays are numeric with the key of the first being 0 * $list = 'no, yes' would translate to $list = array(0 => 'no', 1 => 'yes'); * * If an array is used, keys can be strings example: array('no' => 0, 'yes' => 1); @@ -85,7 +85,7 @@ class Object{ * $list defaults to 0 = no 1 = yes if param is not passed * * @param string $selected - * @param mixed $list can be an array or a coma separated list. + * @param mixed $list can be an array or a comma separated list. * @return string the value of the array key or null if no match */ function enum($select, $list = array('no', 'yes')) {