Loading core/.phpstan-baseline.php +7 −1231 File changed.Preview size limit exceeded, changes collapsed. Show changes core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php +2 −2 Original line number Diff line number Diff line Loading @@ -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 { } } Loading
core/.phpstan-baseline.php +7 −1231 File changed.Preview size limit exceeded, changes collapsed. Show changes
core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php +2 −2 Original line number Diff line number Diff line Loading @@ -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 { } }