diff --git a/src/Card.php b/src/Card.php index a66503ca81..b7a9df84cb 100644 --- a/src/Card.php +++ b/src/Card.php @@ -28,7 +28,7 @@ * will have it's idField set as data-id HTML attribute for the card. Thus making * the ID available via javascript (new Jquery())->data('id') * - * @property false $model use $entity property instead + * @property false|null $model use $entity property instead TODO remove null once https://github.com/phpstan/phpstan/issues/10787 is fixed */ class Card extends View { diff --git a/src/CardTable.php b/src/CardTable.php index c5e3a5d49f..55d95ead2f 100644 --- a/src/CardTable.php +++ b/src/CardTable.php @@ -12,7 +12,7 @@ * IMPORTANT: Although the purpose of the "Card" component will remain the same, we do plan to * improve implementation of a card to to use https://fomantic-ui.com/views/card.html . * - * @property false $model use $entity property instead + * @property false|null $model use $entity property instead TODO remove null once https://github.com/phpstan/phpstan/issues/10787 is fixed */ class CardTable extends Table { diff --git a/src/Form/AbstractLayout.php b/src/Form/AbstractLayout.php index 2f15bac45c..6daa2ed989 100644 --- a/src/Form/AbstractLayout.php +++ b/src/Form/AbstractLayout.php @@ -16,7 +16,7 @@ /** * Custom Layout for a form. * - * @property false $model use $entity property instead + * @property false|null $model use $entity property instead TODO remove null once https://github.com/phpstan/phpstan/issues/10787 is fixed */ abstract class AbstractLayout extends View { diff --git a/src/VueComponent/InlineEdit.php b/src/VueComponent/InlineEdit.php index a8a0273472..b00d2d36a3 100644 --- a/src/VueComponent/InlineEdit.php +++ b/src/VueComponent/InlineEdit.php @@ -14,7 +14,7 @@ /** * A Simple inline editable text Vue component. * - * @property false $model use $entity property instead + * @property false|null $model use $entity property instead TODO remove null once https://github.com/phpstan/phpstan/issues/10787 is fixed */ class InlineEdit extends View {