diff --git a/app/Repositories/Daemon/DaemonRepository.php b/app/Repositories/Daemon/DaemonRepository.php index 84f6bbda8..3d0f2f043 100644 --- a/app/Repositories/Daemon/DaemonRepository.php +++ b/app/Repositories/Daemon/DaemonRepository.php @@ -23,8 +23,10 @@ abstract class DaemonRepository /** * Set the server model this request is stemming from. + * + * @return static */ - public function setServer(Server $server): static + public function setServer(Server $server): self { $this->server = $server; diff --git a/app/Transformers/Api/Application/BaseTransformer.php b/app/Transformers/Api/Application/BaseTransformer.php index 8052c20ae..784822272 100644 --- a/app/Transformers/Api/Application/BaseTransformer.php +++ b/app/Transformers/Api/Application/BaseTransformer.php @@ -49,8 +49,10 @@ abstract class BaseTransformer extends TransformerAbstract /** * Returns a new transformer instance with the request set on the instance. + * + * @return static */ - public static function fromRequest(Request $request): static + public static function fromRequest(Request $request): self { return app(static::class)->setRequest($request); }