Skip to content

Commit

Permalink
Fix PHPStan v1.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Sep 19, 2024
1 parent 3934637 commit f5c10fa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ parameters:
-
path: 'src/Form/Layout/Section.php'
identifier: return.type
message: '~^Method Atk4\\Ui\\Form\\Layout\\Section::addSection\(\) should return Atk4\\Ui\\Form\\Layout but returns static\(Atk4\\Ui\\Form\\Layout\\Section\)\.$~'
message: '~^Method Atk4\\Ui\\Form\\Layout\\Section::addSection\(\) should return Atk4\\Ui\\Form\\Layout but returns Atk4\\Ui\\View\.$~'
count: 1
-
path: 'src/Form/Layout/Section/Accordion.php'
Expand All @@ -516,17 +516,17 @@ parameters:
-
path: 'src/Form/Layout/Section/Accordion.php'
identifier: return.type
message: '~^Method Atk4\\Ui\\Form\\Layout\\Section\\Accordion::addSection\(\) should return Atk4\\Ui\\Form\\Layout but returns static\(Atk4\\Ui\\Form\\Layout\\Section\\Accordion\)\.$~'
message: '~^Method Atk4\\Ui\\Form\\Layout\\Section\\Accordion::addSection\(\) should return Atk4\\Ui\\Form\\Layout but returns Atk4\\Ui\\View\.$~'
count: 1
-
path: 'src/Form/Layout/Section/Columns.php'
identifier: return.type
message: '~^Method Atk4\\Ui\\Form\\Layout\\Section\\Columns::addColumn\(\) should return Atk4\\Ui\\Form\\Layout but returns static\(Atk4\\Ui\\Form\\Layout\\Section\\Columns\)\.$~'
message: '~^Method Atk4\\Ui\\Form\\Layout\\Section\\Columns::addColumn\(\) should return Atk4\\Ui\\Form\\Layout but returns Atk4\\Ui\\View\.$~'
count: 1
-
path: 'src/Form/Layout/Section/Tabs.php'
identifier: return.type
message: '~^Method Atk4\\Ui\\Form\\Layout\\Section\\Tabs::addTab\(\) should return Atk4\\Ui\\Form\\Layout but returns static\(Atk4\\Ui\\Form\\Layout\\Section\\Tabs\)\.$~'
message: '~^Method Atk4\\Ui\\Form\\Layout\\Section\\Tabs::addTab\(\) should return Atk4\\Ui\\Form\\Layout but returns Atk4\\Ui\\View\.$~'
count: 1
-
path: 'src/Grid.php'
Expand Down Expand Up @@ -571,12 +571,12 @@ parameters:
-
path: 'src/Header.php'
identifier: assign.propertyType
message: '~^Property Atk4\\Ui\\Header::\$subHeader \(string\) does not accept \$this\(Atk4\\Ui\\Header\)\.$~'
message: '~^Property Atk4\\Ui\\Header::\$subHeader \(string\) does not accept Atk4\\Ui\\View\.$~'
count: 1
-
path: 'src/Label.php'
identifier: assign.propertyType
message: '~^Property Atk4\\Ui\\Label::\$detail \(string\|false\|null\) does not accept \$this\(Atk4\\Ui\\Label\)\.$~'
message: '~^Property Atk4\\Ui\\Label::\$detail \(string\|false\|null\) does not accept Atk4\\Ui\\View\.$~'
count: 1
-
path: 'src/Menu.php'
Expand Down

0 comments on commit f5c10fa

Please sign in to comment.