diff --git a/lib/models/PayloadCommit.php b/lib/models/PayloadCommit.php index dd23126..fcb8390 100644 --- a/lib/models/PayloadCommit.php +++ b/lib/models/PayloadCommit.php @@ -119,7 +119,7 @@ class PayloadCommit implements \JsonSerializable { /** * Gets the GPG verification of this commit. - * @return UriInterface|null The GPG verification of this commit. + * @return PayloadCommitVerification|null The GPG verification of this commit. */ function getVerification(): ?PayloadCommitVerification { return $this->verification; diff --git a/lib/models/Repository.php b/lib/models/Repository.php index 684bdad..bae2814 100644 --- a/lib/models/Repository.php +++ b/lib/models/Repository.php @@ -256,7 +256,7 @@ class Repository implements \JsonSerializable { /** * Gets the parent repository, if this repository is a fork or a mirror. - * @return User|null The parent repository, if this repository is a fork or a mirror. + * @return Repository|null The parent repository, if this repository is a fork or a mirror. */ function getParent(): ?Repository { return $this->parent; diff --git a/phpstan.neon b/phpstan.neon index bd49d28..f543aaa 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,3 +1,3 @@ parameters: level: max - paths: [lib, test] + paths: [lib]