<?php
namespace wcf\data\trophy;
+use wcf\data\condition\Condition;
use wcf\data\trophy\category\TrophyCategory;
use wcf\data\trophy\category\TrophyCategoryCache;
use wcf\data\DatabaseObject;
* @param string $sourceContent
* @param array $metaData
* @param boolean $isolated
- * @return string
+ * @return array|boolean
* @throws SystemException
*/
public function compileString($identifier, $sourceContent, array $metaData = [], $isolated = false) {
/**
* Applies StringUtil::trim() to all elements of the given array.
*
- * @param array $array
+ * @param array|string $array
* @param boolean $removeEmptyElements
- * @return array
+ * @return array|string
*/
public static function trim($array, $removeEmptyElements = true) {
if (!is_array($array)) {
/**
* Applies intval() to all elements of the given array.
*
- * @param array $array
- * @return array
+ * @param array|string $array
+ * @return array|string
*/
public static function toIntegerArray($array) {
if (!is_array($array)) {
/**
* Converts html special characters in the given array.
*
- * @param array $array
- * @return array
+ * @param array|string $array
+ * @return array|string
*/
public static function encodeHTML($array) {
if (!is_array($array)) {
/**
* Converts dos to unix newlines.
*
- * @param array $array
- * @return array
+ * @param array|string $array
+ * @return array|string
*/
public static function unifyNewlines($array) {
if (!is_array($array)) {
*
* @param string $inCharset
* @param string $outCharset
- * @param array $array
- * @return string
+ * @param array|string $array
+ * @return array|string
*/
public static function convertEncoding($inCharset, $outCharset, $array) {
if (!is_array($array)) {