The statement inside the if should be on a separate line and ``null`` should be lowercased:

```php
if (!$objectId) {
    $objectId = null;
}
```