$offset = min($params['offset'] ?? 0, 0);
I think this line return always 0 If I set positive integer value in the $param['offset']. So I fixing it in my repository function and just pointed in here as a reminder its not working :-).
I really like this repository and its really helpful to understood slim and use it for my current api development project.
Really appreciate.
Ziauddin
$offset = min($params['offset'] ?? 0, 0); I think this line return always 0 If I set positive integer value in the $param['offset']. So I fixing it in my repository function and just pointed in here as a reminder its not working :-).
I really like this repository and its really helpful to understood slim and use it for my current api development project. Really appreciate. Ziauddin