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