X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FActivity.php;h=36bc5e99b384008b60eebcc11ca0330d64fadd4c;hb=f56054ecc140d2f76ea0cb7ea42f94e3fb90cbf6;hp=bba7909fdf062f2eca6549eb7c080ba86691b6e2;hpb=23c64b9a119c5df9f985ad4c62ef6fb79d68bee3;p=friendica.git diff --git a/src/Protocol/Activity.php b/src/Protocol/Activity.php index bba7909fdf..36bc5e99b3 100644 --- a/src/Protocol/Activity.php +++ b/src/Protocol/Activity.php @@ -1,6 +1,6 @@ match($activity, $hiddenActivity)) { @@ -215,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) &&