Translations:Developers/Object oriented programming in PHP/Exceptions/7/ru

public function test( array $values, array $types ) {   foreach( $values as $key => $value ) {       if( isset( $types[$key] ) {            $values['type'] = $types[$key];        }    }