Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

zend-expressive-hal 0.4.3

Compare
Choose a tag to compare
@weierophinney weierophinney released this 30 Oct 20:45
· 182 commits to master since this release

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #19 fixes the behavior of ResourceGenerator when nesting a collection inside another resource to properly nest it as an array of items, rather than a collection resource.

  • #18 fixes the return type hint of RouteBasedResourceMetadata::setRouteParams() to correctly be void.

  • #13 updates ExtractCollection::extractPaginator() to validate that the pagination parameter is within the range of pages represented by the paginator instance; if not, an OutOfBoundsException is raised.

  • #12 fixes how pagination metadata (_page, _page_count, _total_items) is represented in generated resources, ensuring values are cast to integers.