GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Issues (4568)

AdditionalProperties/AdditionalPropertyStore.php (10 issues)

1
<?php
2
0 ignored issues
show
Missing file doc comment
Loading history...
3
namespace BristolSU\ControlDB\AdditionalProperties;
4
5
/**
6
 * Handles storing the additional properties models can define
7
 */
0 ignored issues
show
Missing @category tag in class comment
Loading history...
Missing @package tag in class comment
Loading history...
Missing @author tag in class comment
Loading history...
Missing @license tag in class comment
Loading history...
Missing @link tag in class comment
Loading history...
8
interface AdditionalPropertyStore
9
{
10
11
    /**
12
     * Add a property to a model.
13
     * 
14
     * Properties must be initialised before they can be used.
15
     * 
16
     * @param string $model Model class name to add the property to
17
     * @param string $key Key of the property
0 ignored issues
show
Expected 3 spaces after parameter name; 1 found
Loading history...
18
     * @return void
0 ignored issues
show
Tag @return cannot be grouped with parameter tags in a doc comment
Loading history...
19
     */
20
    public function addProperty(string $model, string $key): void;
21
22
    /**
23
     * Does the given model have any properties
24
     * 
25
     * @param string $model Full class name of the model
26
     * @return bool If the model has properties
0 ignored issues
show
Tag @return cannot be grouped with parameter tags in a doc comment
Loading history...
27
     */
28
    public function hasProperties(string $model): bool;
29
30
    /**
31
     * Get all properties a model has
32
     * 
33
     * @param string $model Full class name of the model
34
     * @return array Array of property keys.
0 ignored issues
show
Tag @return cannot be grouped with parameter tags in a doc comment
Loading history...
35
     */
36
    public function getProperties(string $model): array;
37
    
38
}