projects
/
m6w6
/
seekat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
ws/style/uses/docs
[m6w6/seekat]
/
examples
/
generator.php
diff --git
a/examples/generator.php
b/examples/generator.php
index d488e97b2ba6ab14a9ee64a66ea8ec87a82ea427..9d962d4103076eaf99035926926b708639a1a6e7 100755
(executable)
--- a/
examples/generator.php
+++ b/
examples/generator.php
@@
-14,7
+14,7
@@
$api = new API([
"Authorization" => "token ".getenv("GITHUB_TOKEN")
], null, $cli, $log);
-$api(function(
) use(
$api) {
+$api(function($api) {
$count = 0;
$events = yield $api->repos->m6w6->{"ext-http"}->issues->events();
while ($events) {