[Fix] The bindShare resolution accepts only Closures

Hey, Jeffrey, I faced this issue: When I added the Service Provider to my providers list, it just fails saying that the bindShared accepts only a Closure as second parameter and this fixes it.