From adb8cdb12ba5bb3bbae68e425394e6be28a099c5 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Thu, 27 Jun 2024 20:06:21 -0400 Subject: [PATCH] Add docs to channel repository. --- app/src/Domain/Repository/Channel/ChannelRepository.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/Domain/Repository/Channel/ChannelRepository.php b/app/src/Domain/Repository/Channel/ChannelRepository.php index 115c622..caac622 100644 --- a/app/src/Domain/Repository/Channel/ChannelRepository.php +++ b/app/src/Domain/Repository/Channel/ChannelRepository.php @@ -15,6 +15,10 @@ class ChannelRepository implements ChannelRepositoryInterface protected MysqlClient $db ) { } + /** + * @param mixed[] $results Result Set from the Query + * @return Channel + */ protected function createChannelFromResults(array $results): Channel { return Channel::fromArray([