refactor: update adapter for the new API
fix CS
fix CS
update Adapter with latest API changes

And fix incomplete data in pull-request
Merge pull request #2 from sstok/new-adapter-interface

This PR was merged into sstok:master-test branch.

Discussion
----------

Test PR 2

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

Lets hope this works now
 Sent using [Gush](https://github.com/gushphp/gush)

Commits
-------

29b603f48ac4e798979ffec68596201158909e1e refactor: update adapter for the new API sstok
8d966a3651fea06643e2b376ac21f834f0145649 fix CS sstok
45ecd9997d452d5659fbd797713f66496cf05cd1 fix CS sstok
6728069185afe50679fbc655c66f5f8801706ef6 update Adapter with latest API changes

And fix incomplete data in pull-request sstok