We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e9ba34 + 279ebb0 commit ba55f39Copy full SHA for ba55f39
extension.neon
@@ -13,7 +13,6 @@ parameters:
13
- stubs/Nette/Forms/Control.stub
14
- stubs/Nette/Forms/Controls/BaseControl.stub
15
- stubs/Nette/Bridges/FormsLatte/Runtime.stub
16
- - stubs/Nette/Application/UI/Multiplier.stub
17
usePathConstantsAsConstantString: true
18
latte:
19
strictMode: false
stubs/Latte/Runtime/Helpers.stub
@@ -8,7 +8,7 @@ class Helpers implements HtmlStringable
8
/**
9
* @template A
10
* @param A $value
11
- * @return ?A
+ * @phpstan-return (A is string ? A|null : null)
12
*/
public static function stringOrNull(mixed $value): ?string
{
stubs/Nette/Application/UI/Multiplier.stub
0 commit comments