Should be:
```php
return null === $string ? null : mb_convert_case($string, MB_CASE_LOWER, mb_detect_encoding($string));
```
As your code will return `true` when given string is `null`.