Verified Commit 8dc2b3dd authored by Dave Long's avatar Dave Long
Browse files

test: #3579915 Add return types to AnonResourceTestTrait

By: mstrelan
By: longwave
parent e2767d1c
Loading
Loading
Loading
Loading
Loading
+7 −1231

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 {
  }

}