Skip to content

Commit ba55f39

Browse files
Solve stubs conflicts (#467)
2 parents 3e9ba34 + 279ebb0 commit ba55f39

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

extension.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ parameters:
1313
- stubs/Nette/Forms/Control.stub
1414
- stubs/Nette/Forms/Controls/BaseControl.stub
1515
- stubs/Nette/Bridges/FormsLatte/Runtime.stub
16-
- stubs/Nette/Application/UI/Multiplier.stub
1716
usePathConstantsAsConstantString: true
1817
latte:
1918
strictMode: false

stubs/Latte/Runtime/Helpers.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Helpers implements HtmlStringable
88
/**
99
* @template A
1010
* @param A $value
11-
* @return ?A
11+
* @phpstan-return (A is string ? A|null : null)
1212
*/
1313
public static function stringOrNull(mixed $value): ?string
1414
{

stubs/Nette/Application/UI/Multiplier.stub

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)