1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 16:20:13 +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

@@ -10,7 +10,12 @@
*
*/
use JetBrains\PhpStorm\ArrayShape;
use JetBrains\PhpStorm\Deprecated;
/**
*
*/
class theme_shortcodes extends e_shortcode
{
@@ -97,11 +102,13 @@ class theme_shortcodes extends e_shortcode
/**
* Will only function on the news page.
*
* @example {THEME_NEWS_BANNER: type=date}
* @example, {THEME_NEWS_BANNER: type=image}
* @example {THEME_NEWS_BANNER: type=author}
* @param null $parm
* @return string|null
*
*/
function sc_theme_news_banner($parm=null)
{