X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FActivity.php;h=c5fca4a5cc63dac44dd80e97dcbd87ff39ea4fc3;hb=baf75adfca478a3676b37fb1d41f0b2d750e86b2;hp=4ebb02b8dd5880597d33429c07bc687983d0699c;hpb=322b7c856ca9ba53bd9c7da50dd5c1e3c9197d56;p=friendica.git diff --git a/src/Protocol/Activity.php b/src/Protocol/Activity.php index 4ebb02b8dd..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) &&