Update dependencies

This commit is contained in:
Chris Hunt
2024-02-16 21:36:54 +00:00
parent 22d7a59e59
commit d52ae0d3c3
9569 changed files with 460443 additions and 282416 deletions

View File

@@ -2,6 +2,8 @@
namespace Github\Api;
use Github\Api\Deployment\Environments;
use Github\Api\Deployment\Policies;
use Github\Exception\MissingArgumentException;
/**
@@ -130,4 +132,20 @@ class Deployment extends AbstractApi
{
return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/deployments/'.$id.'/statuses');
}
/**
* @return Environments
*/
public function environments()
{
return new Environments($this->getClient());
}
/**
* @return Policies
*/
public function policies()
{
return new Policies($this->getClient());
}
}