[DependencyInjection] Fixed changes requested by fabbot on coding standards

Fixed changes requested by fabbot on coding standards.