original_string: private function removeObsoleteMetadata(): void
    {
      // 1 pass through $mySources make new array with routine_name is key.
      $clean = [];
      foreach ($this->sources as $source)
      {
        $routine_name = $source['routine_name'];
        if (isset($this->phpStratumMetadata[$routine_name]))
        {
          $clean[$routine_name] = $this->phpStratumMetadata[$routine_name];
        }
      }
  
      $this->phpStratumMetadata = $clean;
    }
code: private function removeObsoleteMetadata(): void
    {
      // 1 pass through $mySources make new array with routine_name is key.
      $clean = [];
      foreach ($this->sources as $source)
      {
        $routine_name = $source['routine_name'];
        if (isset($this->phpStratumMetadata[$routine_name]))
        {
          $clean[$routine_name] = $this->phpStratumMetadata[$routine_name];
        }
      }
  
      $this->phpStratumMetadata = $clean;
    }
code_tokens: private function removeObsoleteMetadata ( ) : void { // 1 pass through $mySources make new array with routine_name is key. $ clean = [ ] ; foreach ( $ this -> sources as $ source ) { $ routine_name = $ source [ 'routine_name' ] ; if ( isset ( $ this -> phpStratumMetadata [ $ routine_name ] ) ) { $ clean [ $ routine_name ] = $ this -> phpStratumMetadata [ $ routine_name ] ; } } $ this -> phpStratumMetadata = $ clean ; }
docstring: Removes obsolete entries from the metadata of all stored routines.
docstring_tokens: Removes obsolete entries from the metadata of all stored routines .