Remove call to Pimple::share as it will be removed
Fix docblock signitures
Call Pimple::offsetGet directory instead of using ArrayAccess