mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
Rector changes and immplementations of required methods
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user