Methods getLastPage() and getCurrentPage() should return integer

Atleast according to ArraySerializer::paginator() where both are
typecasted to integer.

https://github.com/thephpleague/fractal/blob/master/src/Serializer/ArraySerializer.php#L76