original_string: public function getInputsFromResult($inputResult)
      {
          $input_array = [];
  
          if (!isset($inputResult['inputs'])) {
              throw new \Exception('Inputs Not Found');
          }
  
          foreach ($inputResult['inputs'] as $rawInput) {
              $input = new Input($rawInput);
              $input_array[] = $input;
          }
  
          return $input_array;
      }
code: public function getInputsFromResult($inputResult)
      {
          $input_array = [];
  
          if (!isset($inputResult['inputs'])) {
              throw new \Exception('Inputs Not Found');
          }
  
          foreach ($inputResult['inputs'] as $rawInput) {
              $input = new Input($rawInput);
              $input_array[] = $input;
          }
  
          return $input_array;
      }
code_tokens: public function getInputsFromResult ( $ inputResult ) { $ input_array = [ ] ; if ( ! isset ( $ inputResult [ 'inputs' ] ) ) { throw new \ Exception ( 'Inputs Not Found' ) ; } foreach ( $ inputResult [ 'inputs' ] as $ rawInput ) { $ input = new Input ( $ rawInput ) ; $ input_array [ ] = $ input ; } return $ input_array ; }
docstring: Parses Request Result and gets Inputs
  
  @param $inputResult
  
  @return array
  
  @throws \Exception
docstring_tokens: Parses Request Result and gets Inputs