b_waiting_popnupblog()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 8
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
require_once XOOPS_ROOT_PATH . '/modules/popnupblog/popnupblog.php';
4
5
/**
6
 * @return array
7
 */
8
function b_waiting_popnupblog()
9
{
10
    $result                  = [];
11
    $result['adminlink']     = XOOPS_URL . '/modules/popnupblog/admin/index.php';
12
    $result['pendingnum']    = popnupblog::getApplicationNum();
0 ignored issues
show
Bug introduced by
The type popnupblog was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
    $result['lang_linkname'] = _PI_WAITING_WAITINGS;
14
15
    return $result;
16
}
17