Rector changes and immplementations of required methods

This commit is contained in:
2025-05-22 17:47:07 +02:00
parent 053b92b77c
commit 17db59d221
1138 changed files with 2656 additions and 2616 deletions

View File

@@ -101,7 +101,7 @@ class TimelineActivityProvider implements TimelineProviderInterface
*
* @throws \LogicException if the context is not supported
*/
private function checkContext(string $context)
private function checkContext(string $context): void
{
if (false === \in_array($context, self::SUPPORTED_CONTEXTS, true)) {
throw new \LogicException(sprintf("The context '%s' is not supported. Currently only 'person' is supported", $context));