Drop unused variables

* This mainly drops a lot of unused variables.
* Fixes a broken `count` in `Isomorphic`.
* Remoces copy & paste in `Client`.
* Fixes some incomplete type hints in PHPDocs.

Most issues found with the static code analysis in PHPStorm.
You are right, this should have been a separate pull request.