From f76de7bdda120b51ad8ccf5947769542d4927dbe Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Tue, 12 Mar 2024 01:20:32 +0300 Subject: [PATCH] php doc --- .../administrator/src/Model/ClientsModel.php | 38 ++++--------------- 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/com_oauthserver/administrator/src/Model/ClientsModel.php b/com_oauthserver/administrator/src/Model/ClientsModel.php index 8ccd7d3..87dd748 100644 --- a/com_oauthserver/administrator/src/Model/ClientsModel.php +++ b/com_oauthserver/administrator/src/Model/ClientsModel.php @@ -28,14 +28,8 @@ class ClientsModel extends ListModel protected $context = 'com_oauthserver.clients'; /** - * Constructor. - * - * @param array $config An optional associative array of configuration settings. - * @param MVCFactoryInterface|null $factory The factory. - * - * @throws \Exception - * - * @since 1.0.0 + * @inheritDoc + * @since version */ public function __construct($config = [], MVCFactoryInterface $factory = null) { @@ -51,14 +45,8 @@ class ClientsModel extends ListModel } /** - * Method to auto-populate the model state. - * - * @param string $ordering An optional ordering field. - * @param string $direction An optional direction (asc|desc). - * - * @throws \Exception - * - * @since 1.0.0 + * @inheritDoc + * @since version */ protected function populateState($ordering = null, $direction = null): void { @@ -69,13 +57,8 @@ class ClientsModel extends ListModel } /** - * Method to get a store id based on model configuration state. - * - * @param string $id A prefix for the store id. - * - * @return string A store id. - * - * @since 1.0.0 + * @inheritDoc + * @since version */ protected function getStoreId($id = ''): string { @@ -123,13 +106,8 @@ class ClientsModel extends ListModel } /** - * Method to get a DatabaseQuery object for retrieving the data set from a database. - * - * @return QueryInterface A QueryInterface object to retrieve the data set. - * - * @throws \Exception - * - * @since 1.0.0 + * @inheritDoc + * @since version */ protected function getListQuery(): QueryInterface {