rathena / FluxCP

Invalid typehint detected in function PHP-W1029
Bug risk
Critical
3 occurrences in this check
Method Flux_Template::itemTypeText() has invalid return type Item
1088	 * @return Item type or false.
1089	 * @access public
1090	 */
1091	public function itemTypeText($id)1092	{
1093		return Flux::getItemType($id);
1094	}
Parameter $options of method Flux_Authorization::config() has invalid type arary
153	 * @param arary $options
154	 * @access public
155	 */
156	public function config($key, $value = null, $options = array())157	{
158		if (!is_null($value)) {
159			return $this->config->set($key, $value, $options);
Method Flux::getItemType() has invalid return type Item
 701	 * @return Item Type or false.
 702	 * @access public
 703	 */
 704	public static function getItemType($id1) 705	{
 706		if (is_null($id1))
 707			return false;