Fixing strict errors in Set class.

This commit is contained in:
mark_story 2010-12-12 17:37:31 -05:00
parent df21d19c4c
commit cc81f6d062

View file

@ -1017,7 +1017,7 @@ class Set {
* @param string $key * @param string $key
* @return array * @return array
*/ */
private function __flatten($results, $key = null) { private static function __flatten($results, $key = null) {
$stack = array(); $stack = array();
foreach ($results as $k => $r) { foreach ($results as $k => $r) {
$id = $k; $id = $k;