From 90e652943ef7f6ca6352ed65c0c42e26702bf651 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Thu, 8 Jun 2023 01:40:30 +0300 Subject: [PATCH] php doc --- src/CGSelect.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/CGSelect.php b/src/CGSelect.php index 43bbae6..0efa8a2 100644 --- a/src/CGSelect.php +++ b/src/CGSelect.php @@ -11,11 +11,19 @@ class CGSelect $this->driver = new CGSelectDriver($selector, $options); } - public function getJS(){ + /** + * @return string + */ + public function getJS(): string + { return $this->driver->getJS(); } - public static function renderCDN($version = 'latest') + /** + * @param $version + * @return void + */ + public static function renderCDN($version = 'latest'): void { CGSelectDriver::renderCDN($version); }