[doc] fix type in composer.json example