mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Exclude reporting the unused getDataModelValue() method
This commit is contained in:
parent
5d9158d44c
commit
ea30efbd6e
2 changed files with 2 additions and 1 deletions
|
|
@ -47,3 +47,4 @@ parameters:
|
|||
- '/Method Sylius\\Component\\(\w+)\\Model\\(\w+)\:\:getId\(\) has no return type specified./'
|
||||
- '/Method [a-zA-z\\]+Filter\:\:filterProperty\(\) has parameter \$value with no type specified./'
|
||||
- '/Method [a-zA-z\\]+Persister\:\:(persist|remove|supports)\(\) has parameter \$data with no type specified./'
|
||||
- '/Method Sylius\\Bundle\\AdminBundle\\TwigComponent\\[a-zA-Z\\]+\:\:getDataModelValue\(\) is unused./'
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ class FormComponent
|
|||
return serialize($value);
|
||||
}
|
||||
|
||||
private function getDataModelValue(): ?string
|
||||
private function getDataModelValue(): string
|
||||
{
|
||||
return 'norender|*';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue