1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-05 18:41:02 +00:00

Fix some self deprecation notices

This commit is contained in:
Yassine Guedidi 2025-01-18 23:56:06 +01:00
parent 5a8b581adf
commit 98ed784af3
47 changed files with 57 additions and 49 deletions

View file

@ -16,6 +16,10 @@ class Matches
{
public function __invoke($subject, $pattern)
{
if (null === $subject) {
return false;
}
return false !== stripos($subject, $pattern);
}
}

View file

@ -16,6 +16,10 @@ class NotMatches
{
public function __invoke($subject, $pattern)
{
if (null === $subject) {
return true;
}
return false === stripos($subject, $pattern);
}
}