This commit is contained in:
Kavalar 2023-06-08 01:40:30 +03:00
parent 30c7844d96
commit 90e652943e

View File

@ -11,11 +11,19 @@ class CGSelect
$this->driver = new CGSelectDriver($selector, $options); $this->driver = new CGSelectDriver($selector, $options);
} }
public function getJS(){ /**
* @return string
*/
public function getJS(): string
{
return $this->driver->getJS(); return $this->driver->getJS();
} }
public static function renderCDN($version = 'latest') /**
* @param $version
* @return void
*/
public static function renderCDN($version = 'latest'): void
{ {
CGSelectDriver::renderCDN($version); CGSelectDriver::renderCDN($version);
} }