https://wiki.php.net/rfc/marking_return_value_as_important `/**

  • Processes all the given items and returns an array with the results of the
  • operation for each item. null indicates success and an Exception indicates
  • an error. The keys of the result array match the keys of the $items array.
  • @param array $items
  • @return array */ #[NoDiscard("as processing might fail for individual items")] function bulk_process(array $items): array { Специальный атрибут, указывающий что результат работы функции должен быть обработан и его игнорирование, скорее всего, является ошибкой. p.s. О, привет golang. if err != nil`