It seems like $value defined by parameter $value on line 18 can also be of type object<Ajax\common\html\HtmlDoubleElement>; however, Ajax\semantic\html\eleme...lSegment::__construct() does only seem to accept string, maybe add an additional type check?
This check looks at variables that have been passed in as parameters and are passed out again
to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.
Loading history...
20
}
21
22
/**
23
* Defines the group type
24
* @param string $type one of "raised","stacked","piled" default : ""
This check looks at variables that have been passed in as parameters and are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.