Update adapter for new API

                   
|Q            |A  |
|---          |---|
|Bug Fix?     |n  |
|New Feature? |n  |
|BC Breaks?   |n  |
|Deprecations?|n  |
|Tests Pass?  |n  |
|Fixed Tickets|   |
|License      |MIT|
|Doc PR       |   |
                   

Update adapters for new API as described in https://github.com/gushphp/gush/pull/169
 Sent using [Gush](https://github.com/gushphp/gush)