diff options
| author | 2023-05-22 20:55:59 +0200 | |
|---|---|---|
| committer | 2023-05-22 20:55:59 +0200 | |
| commit | 445cc23abdda5767b622d70cf7b5eb5310dcf908 (patch) | |
| tree | d3f4d05416576da2a0cd7e45eb768f1c2f900f08 /lib/core-extensions/Google-Groups/extension.php | |
| parent | d554d0f6736c5cf94cb2a8fa61f3b6187b86ffa2 (diff) | |
PHPStan Level 7 complete (#5406)
* PHPStan Level 7 complete
* Start PHPStan Level 8
* Forgot exclude .phtml
Diffstat (limited to 'lib/core-extensions/Google-Groups/extension.php')
| -rw-r--r-- | lib/core-extensions/Google-Groups/extension.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core-extensions/Google-Groups/extension.php b/lib/core-extensions/Google-Groups/extension.php index cdd605cd9..eb30de5f9 100644 --- a/lib/core-extensions/Google-Groups/extension.php +++ b/lib/core-extensions/Google-Groups/extension.php @@ -6,6 +6,6 @@ class GoogleGroupsExtension extends Minz_Extension { } public static function findFeed(string $url): string { - return preg_replace('%^(https?://groups.google.com/forum)/#!forum/(.+)$%i', '$1/feed/$2/msgs/rss.xml', $url); + return preg_replace('%^(https?://groups.google.com/forum)/#!forum/(.+)$%i', '$1/feed/$2/msgs/rss.xml', $url) ?? ''; } } |
