Verified Commit ff1d1e78 authored by godotislate's avatar godotislate
Browse files

test: #3579915 Add return types to AnonResourceTestTrait

By: mstrelan
By: longwave
parent 9a9ada05
Loading
Loading
Loading
Loading
Loading
+5 −1181

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -29,14 +29,14 @@ trait AnonResourceTestTrait {
  /**
   * {@inheritdoc}
   */
  protected function assertResponseWhenMissingAuthentication($method, ResponseInterface $response) {
  protected function assertResponseWhenMissingAuthentication($method, ResponseInterface $response): void {
    throw new \LogicException('When testing for anonymous users, authentication cannot be missing.');
  }

  /**
   * {@inheritdoc}
   */
  protected function assertAuthenticationEdgeCases($method, Url $url, array $request_options) {
  protected function assertAuthenticationEdgeCases($method, Url $url, array $request_options): void {
  }

}