X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FActivity.php;h=c5fca4a5cc63dac44dd80e97dcbd87ff39ea4fc3;hb=baf75adfca478a3676b37fb1d41f0b2d750e86b2;hp=e75b1cf507213b00919be6f7560f5a30453da15f;hpb=79526564ca38c306c9fc78c5063dd1a0c7fbf6f0;p=friendica.git diff --git a/src/Protocol/Activity.php b/src/Protocol/Activity.php index e75b1cf507..c5fca4a5cc 100644 --- a/src/Protocol/Activity.php +++ b/src/Protocol/Activity.php @@ -1,6 +1,6 @@ match($activity, $hiddenActivity)) { @@ -231,7 +230,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) &&