ws/style/uses/docs
[m6w6/seekat] / examples / generator.php
index d488e97b2ba6ab14a9ee64a66ea8ec87a82ea427..9d962d4103076eaf99035926926b708639a1a6e7 100755 (executable)
@@ -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) {