X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FActivity.php;h=36bc5e99b384008b60eebcc11ca0330d64fadd4c;hb=f8018f8dfe0183ce7c8f7e8460e0d9fbd5b9395b;hp=637669a61e8bc7acd3744db6f87c224d0e954687;hpb=e6caed7b5f4c836fa5a09983927a386d9333c5fa;p=friendica.git diff --git a/src/Protocol/Activity.php b/src/Protocol/Activity.php index 637669a61e..36bc5e99b3 100644 --- a/src/Protocol/Activity.php +++ b/src/Protocol/Activity.php @@ -1,6 +1,6 @@ match($activity, $hiddenActivity)) { @@ -223,7 +237,7 @@ final class Activity * * @return boolean */ - public function match(string $haystack, string $needle) + public function match(string $haystack, string $needle): bool { return (($haystack === $needle) || ((basename($needle) === $haystack) &&