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();
1111$organizationApi = $client->api('organization');
1212
1313$paginator = new Github\ResultPager( $client );
14- $result = $paginator->fetchAll( $organizationApi, 'repositories', 'github );
14+ $result = $paginator->fetchAll( $organizationApi, 'repositories', 'github' );
1515```
1616
1717Get the first page
@@ -21,7 +21,7 @@ $client = new Github\Client();
2121$organizationApi = $client->api('organization');
2222
2323$paginator = new Github\ResultPager( $client );
24- $result = $paginator->fetch( $organizationApi, 'repositories', 'github );
24+ $result = $paginator->fetch( $organizationApi, 'repositories', 'github' );
2525```
2626Check for a next page:
2727``` php
@@ -35,7 +35,7 @@ $paginator->fetchNext();
3535
3636Check for pervious page:
3737``` php
38- $paginator->getPrevious ();
38+ $paginator->hasPrevious ();
3939```
4040
4141Get prevrious page:
You can’t perform that action at this time.
0 commit comments