original_string: public function getSignatures($compact = true) {
  
          if ( $compact ) {
  
              $signatures = [];
  
              foreach ( $this->signatures as $signature ) {
  
                  $signatures[] = array_merge([$signature["RETURNTYPE"]], array_values($signature["PARAMETERS"]));
  
              }
  
              return $signatures;
  
          } else {
  
              return $this->signatures;
  
          }
  
      }
code: public function getSignatures($compact = true) {
  
          if ( $compact ) {
  
              $signatures = [];
  
              foreach ( $this->signatures as $signature ) {
  
                  $signatures[] = array_merge([$signature["RETURNTYPE"]], array_values($signature["PARAMETERS"]));
  
              }
  
              return $signatures;
  
          } else {
  
              return $this->signatures;
  
          }
  
      }
code_tokens: public function getSignatures ( $ compact = true ) { if ( $ compact ) { $ signatures = [ ] ; foreach ( $ this -> signatures as $ signature ) { $ signatures [ ] = array_merge ( [ $ signature [ "RETURNTYPE" ] ] , array_values ( $ signature [ "PARAMETERS" ] ) ) ; } return $ signatures ; } else { return $ this -> signatures ; } }
docstring: Get the method's signatures
  
  @param bool $compact (default) Compact signatures in a format compatible with system.methodSignature
  
  @return array
docstring_tokens: Get the method s signatures