Skip to content

Commit 059dbd5

Browse files
author
Marcos Conceição
committed
Setting offset to 0
1 parent 868208b commit 059dbd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function getOne($id)
5252
*
5353
* @return array
5454
*/
55-
public function getAll($limit = 50, $offset = null)
55+
public function getAll($limit = 50, $offset = 0)
5656
{
5757
return $this->api->request('GET', '/notifications?' . http_build_query([
5858
'limit' => max(0, min(50, filter_var($limit, FILTER_VALIDATE_INT))),

0 commit comments

Comments
 (0)