Issues (1783)

src/helpers/Gql.php (12 issues)

1
<?php
2
0 ignored issues
show
Missing file doc comment
Loading history...
3
namespace nystudio107\retour\helpers;
4
5
use craft\helpers\Gql as GqlHelper;
6
7
/**
0 ignored issues
show
Missing short description in doc comment
Loading history...
8
 * @author    nystudio107
0 ignored issues
show
The tag in position 1 should be the @package tag
Loading history...
Content of the @author tag must be in the form "Display Name <[email protected]>"
Loading history...
Tag value for @author tag indented incorrectly; expected 2 spaces but found 4
Loading history...
9
 * @package   Retour
0 ignored issues
show
Tag value for @package tag indented incorrectly; expected 1 spaces but found 3
Loading history...
10
 * @since     3.1.54
0 ignored issues
show
The tag in position 3 should be the @author tag
Loading history...
Tag value for @since tag indented incorrectly; expected 3 spaces but found 5
Loading history...
11
 */
0 ignored issues
show
Missing @category tag in class comment
Loading history...
Missing @license tag in class comment
Loading history...
Missing @link tag in class comment
Loading history...
12
class Gql extends GqlHelper
13
{
14
    // Public Methods
15
    // =========================================================================
16
17
    public static function canQueryRetour(): bool
0 ignored issues
show
You must use "/**" style comments for a function comment
Loading history...
18
    {
19
        $allowedEntities = self::extractAllowedEntitiesFromSchema();
20
21
        return isset($allowedEntities['retour']);
22
    }
23
}
24