Upgrade PHPStan level to 4

I had to add some ignore errors until phpstan/phpstan#1482 is resolved

[MAILPOET-1915]
This commit is contained in:
Pavel Dohnal
2019-03-20 15:04:45 +01:00
committed by M. Shull
parent 7d6f69ec1d
commit 21766421d5
11 changed files with 20 additions and 20 deletions

View File

@ -148,7 +148,7 @@ class Subscriber extends Model {
}
static function search($orm, $search = '') {
if (strlen(trim($search) === 0)) {
if (strlen(trim($search)) === 0) {
return $orm;
}