Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Parameters' getLimit returns string #71

@byCedric

Description

@byCedric

I was implementing the package at yet another project, until I noticed that the Parameters own getLimit returns a string. Yes, it does state in the docblock that it should return a string but I find this quite confusing. Mostly because within the LinksTrait addPaginationLinks the limit is used as an integer...

My main point is should the getLimit method within Parameters not return integer, and 0 by default instead of ''.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions