[2.0.0-alpha2] UiPatternsSampleEntityGenerator: Access to an undefined property

Created on 5 April 2024, 8 months ago
Updated 10 June 2024, 6 months ago

To fix:

  Line   ui_patterns/src/Entity/UiPatternsSampleEntityGenerator.php                
  57     Access to an undefined property                                           
         Drupal\Core\Entity\FieldableEntityInterface::$in_preview.                 
         πŸ’‘ Learn more:                                                            
            https://phpstan.org/blog/solving-phpstan-access-to-undefined-property  

Also, we may need to do something about this UiPatternsSampleEntityGenerator and its interface. Is it really a generator? Why "sample"? Can we implement an existing interface?

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024