1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

PHPDoc fixes and code optimization.

This commit is contained in:
Cameron
2021-12-03 14:58:33 -08:00
parent aff6daf590
commit 0d8f3e9086
73 changed files with 241 additions and 210 deletions

View File

@@ -342,7 +342,7 @@
* Return an extension for a specific mime-type.
*
* @param $mimeType
* @return mixed|null
* @return string|null
*/
function getFileExtension($mimeType)
{
@@ -569,7 +569,7 @@
/**
* @param string $address
* @param array|null $options
* @return CurlHandle|false|resource
* @return CurlHandle|false
*/
function initCurl($address, $options = null)
{
@@ -1217,7 +1217,7 @@
* @param int $user userid
* @param boolean $create
* @param null|string $subDir
* @return bool|string
* @return string
*/
public function getUserDir($user, $create = false, $subDir = null)
{
@@ -2393,7 +2393,7 @@
*
* @param $filename
* @param bool|false $extended
* @return array|string|false
* @return array|string
*/
function getImageMime($filename, $extended = false)
{