1 | <?php |
||
16 | abstract class AbstractExternalIdentity extends Field implements \flipbox\saml\core\EnsureSAMLPlugin |
||
17 | { |
||
18 | |||
19 | public static function displayName(): string |
||
23 | |||
24 | /** |
||
25 | * @inheritdoc |
||
26 | */ |
||
27 | public static function hasContentColumn(): bool |
||
31 | |||
32 | public function normalizeValue($value, ElementInterface $element = null) |
||
40 | |||
41 | public function getInputHtml($value, ElementInterface $element = null): string |
||
45 | |||
46 | /** |
||
47 | * @param $value |
||
48 | * @param ElementInterface $element |
||
49 | * @return string |
||
50 | * @throws \Twig_Error_Loader |
||
51 | * @throws \yii\base\Exception |
||
52 | */ |
||
53 | public function getStaticHtml($value, ElementInterface $element): string |
||
71 | } |
||
72 |
It seems like you allow that null is being passed for a parameter, however the function which is called does not seem to accept null.
We recommend to add an additional type check (or disallow null for the parameter):