@@ -15,23 +15,23 @@ Returns a list of repositories found by such criteria.
15
15
### Search code
16
16
17
17
``` php
18
- $repos = $client->api('search')->code('@todo language:php');
18
+ $files = $client->api('search')->code('@todo language:php');
19
19
```
20
20
21
21
Returns a list of files found by such criteria (containing "@todo " and language==php).
22
22
23
23
### Search issues
24
24
25
25
``` php
26
- $repos = $client->api('search')->issues('bug language:php');
26
+ $issues = $client->api('search')->issues('bug language:php');
27
27
```
28
28
29
29
Returns a list of issues found by such criteria.
30
30
31
31
### Search users
32
32
33
33
``` php
34
- $repos = $client->api('search')->users('location:Amsterdam language:php');
34
+ $users = $client->api('search')->users('location:Amsterdam language:php');
35
35
```
36
36
37
37
Returns a list of users found by such criteria.
@@ -42,7 +42,7 @@ You can sort results using 2-3 arguments.
42
42
43
43
``` php
44
44
$repos = $client->api('search')->repositories('...', 'created', 'asc');
45
- $repos = $client->api('search')->code('...........', 'indexed', 'desc');
46
- $repos = $client->api('search')->issues('.........', 'comments', 'asc');
47
- $repos = $client->api('search')->users('..........', 'followers', 'asc');
45
+ $files = $client->api('search')->code('...........', 'indexed', 'desc');
46
+ $issues = $client->api('search')->issues('.........', 'comments', 'asc');
47
+ $users = $client->api('search')->users('..........', 'followers', 'asc');
48
48
```
0 commit comments