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.
The doc-type multitype:NULL could not be parsed: Unknown type name "multitype:NULL" at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see
which comment annotations we can parse, please refer to our documentation on
supported doc-types.
Loading history...
34
*/
35
4
public function toArray()
36
{
37
4
$ret = [];
38
4
$dfc = $this->getDataFieldCollection();
39
4
foreach ($dfc as $name => $obj) {
40
4
$ret[$name] = $obj->getData();
41
4
}
42
43
4
return $ret;
44
}
45
46
/**
47
*
48
* @param array $data
49
*/
50
4
public function loadData($data)
51
{
52
4
Ch::ek($data, $this->requiredOptions);
53
4
foreach ($data as $name => $value) {
54
4
if (! ($df = $this->getField($name)))
55
4
throw new \RuntimeException("field not set $name");
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.