Fixed typo

The foreach does never have the form `foreach($c => $k as $v)`. It should be  `foreach($c as $k => $v)`.