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