code: protected function invokeMany(iterable $hooks, ...$arguments)
      {
          foreach ($hooks as $hook) {
              $result = $this->invoke($hook, ...$arguments);
  
              if (!is_null($result)) {
                  return $result;
              }
          }
  
          return null;
      }
docs: Invoke multiple hooks.
  
  @param iterable $hooks
  @param mixed ...$arguments
  @return mixed|null