Or you mean `$objectId` not being `(int) $objectId` ?