mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 16:25:39 +08:00
Do some code quality check and fix #126
This commit is contained in:
@@ -13,7 +13,7 @@ class CurlHook
|
||||
* @param string $url 修改的链接
|
||||
* @param array $headers 修改的 headers
|
||||
*/
|
||||
public static function setupGithubToken(string &$method, string &$url, array &$headers): void
|
||||
public static function setupGithubToken(string $method, string $url, array &$headers): void
|
||||
{
|
||||
if (!getenv('GITHUB_TOKEN')) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user