Skip to content

Commit

Permalink
fix some stan
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jan 30, 2024
1 parent 93f51c6 commit 99d7d20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,6 @@ parameters:
-
path: 'src/Header.php'
message: '~^Property Atk4\\Ui\\Header::\$subHeader \(string\) does not accept \$this\(Atk4\\Ui\\Header\)\.$~'
-
path: 'src/JsSearch.php'
message: '~^Property Atk4\\Ui\\JsSearch::\$placeHolder \(Atk4\\Ui\\Form\\Control\\Line\|null\) does not accept default value of type string\.$~'
-
path: 'src/Label.php'
message: '~^Property Atk4\\Ui\\Label::\$detail \(string\|false\|null\) does not accept \$this\(Atk4\\Ui\\Label\)\.$~'
Expand Down Expand Up @@ -386,9 +383,6 @@ parameters:
-
path: 'src/Grid.php'
message: '~^Parameter #2 \$defaults of static method Atk4\\Core\\Factory::factory\(\) expects array, Atk4\\Ui\\Table\|false given\.$~'
-
path: 'src/JsSearch.php'
message: '~^Parameter #2 \$value of method Atk4\\Ui\\HtmlTemplate::trySet\(\) expects string\|null, Atk4\\Ui\\Form\\Control\\Line given\.$~'
-
path: 'src/Menu.php'
message: '~^Parameter #1 \$object of method Atk4\\Ui\\View::add\(\) expects Atk4\\Ui\\AbstractView, array<int\|string, array<int, string>\|string> given\.$~'
Expand Down
2 changes: 1 addition & 1 deletion src/JsSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class JsSearch extends View
*/
public $autoQuery = false;

/** @var Form\Control\Line|null The input field. */
/** @var string|null */
public $placeHolder = 'Search';

/**
Expand Down

0 comments on commit 99d7d20

Please sign in to comment.