Just wanted to drop a quick nod to a long awaited feature in PHP that other languages have enjoyed for a while now… type hints and return types.
On a current project, I had to implement my own user authentication service in Drupal 8. While writing my class, I added new methods that I...