File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ $client = new Github\Client();
11
11
$organizationApi = $client->api('organization');
12
12
13
13
$paginator = new Github\ResultPager( $client );
14
- $result = $paginator->fetchAll( $organizationApi, 'repositories', 'github );
14
+ $result = $paginator->fetchAll( $organizationApi, 'repositories', 'github' );
15
15
```
16
16
17
17
Get the first page
@@ -21,7 +21,7 @@ $client = new Github\Client();
21
21
$organizationApi = $client->api('organization');
22
22
23
23
$paginator = new Github\ResultPager( $client );
24
- $result = $paginator->fetch( $organizationApi, 'repositories', 'github );
24
+ $result = $paginator->fetch( $organizationApi, 'repositories', 'github' );
25
25
```
26
26
Check for a next page:
27
27
``` php
@@ -35,7 +35,7 @@ $paginator->fetchNext();
35
35
36
36
Check for pervious page:
37
37
``` php
38
- $paginator->getPrevious ();
38
+ $paginator->hasPrevious ();
39
39
```
40
40
41
41
Get prevrious page:
You can’t perform that action at this time.
0 commit comments