original_string: protected function fillOptionsWithValues(array $options)
      {
          return array_merge(
              array_map(
                  function ($value) {
                      if (false === is_array($value)) {
                          throw new InvalidTypeException(
                              'Supported options of a service must be an array with a value as first entry, and a flag to tell if the option is required in the second entry.',
                              1459249834
                          );
                      }
  
                      return $value[0];
                  },
                  $this->supportedOptions
              ),
              $options
          );
      }
code: protected function fillOptionsWithValues(array $options)
      {
          return array_merge(
              array_map(
                  function ($value) {
                      if (false === is_array($value)) {
                          throw new InvalidTypeException(
                              'Supported options of a service must be an array with a value as first entry, and a flag to tell if the option is required in the second entry.',
                              1459249834
                          );
                      }
  
                      return $value[0];
                  },
                  $this->supportedOptions
              ),
              $options
          );
      }
code_tokens: protected function fillOptionsWithValues ( array $ options ) { return array_merge ( array_map ( function ( $ value ) { if ( false === is_array ( $ value ) ) { throw new InvalidTypeException ( 'Supported options of a service must be an array with a value as first entry, and a flag to tell if the option is required in the second entry.' , 1459249834 ) ; } return $ value [ 0 ] ; } , $ this -> supportedOptions ) , $ options ) ; }
docstring: Will fill the options of this service with the given values.
  
  @param array $options
  @return array
  @throws InvalidTypeException
docstring_tokens: Will fill the options of this service with the given values .