e107inc/e107

View on GitHub
e107_plugins/tagcloud/tagcloud_class.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Assigning int to property but \TagCloud->minLength is null
Open

    $this->minLength = $minLength;

Assigning int to property but \TagCloud->limit is null
Open

    $this->limit = $limit;

Returning type null but getLimit() is declared to return int
Open

    return $this->limit;

Argument 2 (sizeRange) is float|int but \TagCloud::htmlizeTag() takes string defined at /code/e107_plugins/tagcloud/tagcloud_class.php:458
Open

          $return .= $this->htmlizeTag($arrayInfo, $sizeRange);

Reference to undeclared property \TagCloud->orderBy
Open

    if (empty($this->orderBy)) {

Returning type null but getMinLength() is declared to return int
Open

    return $this->minLength;

Reference to undeclared property \TagCloud->orderBy
Open

        $this->orderBy['field'],

Reference to undeclared property \TagCloud->orderBy
Open

    $this->orderBy = array(

Assigning callable to property but \TagCloud->htmlizeTagFunction is null
Open

    $this->htmlizeTagFunction = $htmlizeTagFunction;

Reference to undeclared property \TagCloud->orderBy
Open

      $orderDirection = strtolower($this->orderBy['direction']) == 'desc' ? 'SORT_DESC' : 'SORT_ASC';

There are no issues that match your filters.

Category
Status