X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FActivity.php;h=36bc5e99b384008b60eebcc11ca0330d64fadd4c;hb=b218a7f218a97773d0d3419fafb5380cd8a2516c;hp=637669a61e8bc7acd3744db6f87c224d0e954687;hpb=aa2a32d16f20ee71dfcf7ec0f999b8b3f636ad81;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) &&