code: public function addSuggestions($name, array $items)
      {
          if (!$alternatives = self::computeAlternatives($name, $items)) {
              return;
          }
  
          $this->appendMessage(sprintf(' Did you mean "%s"?', implode('", "', $alternatives)));
      }
docs: Tweaks the error message to include suggestions.
  
  @param string $name  The original name of the item that does not exist
  @param array  $items An array of possible items