original_string: private function getJoinString()
      {
          // If there are not joins, return empty
          if (!count($this->orderBy)) {
              return '';
          }
  
          // Create join strings
          $joins = array_map(function ($join) {
              return $join['type'] . ' JOIN ' . $join['table'] . ' ON ' . $this->table . '.' . $join['first'] . $join['operator'] . $join['table'] . '.' . $join['second'];
          }, $this->joins);
  
          // Return complete join string
          return implode(' ', $joins);
      }
code: private function getJoinString()
      {
          // If there are not joins, return empty
          if (!count($this->orderBy)) {
              return '';
          }
  
          // Create join strings
          $joins = array_map(function ($join) {
              return $join['type'] . ' JOIN ' . $join['table'] . ' ON ' . $this->table . '.' . $join['first'] . $join['operator'] . $join['table'] . '.' . $join['second'];
          }, $this->joins);
  
          // Return complete join string
          return implode(' ', $joins);
      }
code_tokens: private function getJoinString ( ) { // If there are not joins, return empty if ( ! count ( $ this -> orderBy ) ) { return '' ; } // Create join strings $ joins = array_map ( function ( $ join ) { return $ join [ 'type' ] . ' JOIN ' . $ join [ 'table' ] . ' ON ' . $ this -> table . '.' . $ join [ 'first' ] . $ join [ 'operator' ] . $ join [ 'table' ] . '.' . $ join [ 'second' ] ; } , $ this -> joins ) ; // Return complete join string return implode ( ' ' , $ joins ) ; }
docstring: Returns the joins array as a JOIN string
  
  @return string JOIN string
docstring_tokens: Returns the joins array as a JOIN string