original_string: public function get_id_project($id_option, $projects){
      foreach( $projects as $i => $p ){
        foreach ( $projects[$i]['path'] as $idx => $pa ){
          if ( $projects[$i]['path'][$idx]['id_option'] === $id_option ){
            return $projects[$i]['id'];
          }
        }
      }
    }
code: public function get_id_project($id_option, $projects){
      foreach( $projects as $i => $p ){
        foreach ( $projects[$i]['path'] as $idx => $pa ){
          if ( $projects[$i]['path'][$idx]['id_option'] === $id_option ){
            return $projects[$i]['id'];
          }
        }
      }
    }
code_tokens: public function get_id_project ( $ id_option , $ projects ) { foreach ( $ projects as $ i => $ p ) { foreach ( $ projects [ $ i ] [ 'path' ] as $ idx => $ pa ) { if ( $ projects [ $ i ] [ 'path' ] [ $ idx ] [ 'id_option' ] === $ id_option ) { return $ projects [ $ i ] [ 'id' ] ; } } } }
docstring: get the id of the project from the id_option of a path
  
  @param $id_option
  @param $projects
  @return void
docstring_tokens: get the id of the project from the id_option of a path