Markus Staab f0aeb8c83a
fix phpstan level 4 warnings (#2252)
* its invalid to combine `void` with another type

see https://github.com/phpstan/phpstan/issues/4014

* added explicit `return null`, to make phpstan happy and the code more obvious.

* increased phpstan level to 5

* fix: '$subject of function preg_match expects string, int given'
2020-11-02 09:19:08 +01:00
..
2020-10-15 22:12:24 +02:00
2020-10-27 00:22:23 +03:00
2020-10-15 22:12:24 +02:00