File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 12
12
assertType ('Drupal\taxonomy\TermStorage ' , $ etm ->getStorage ('taxonomy_term ' ));
13
13
assertType ('Drupal\Core\Entity\EntityStorageInterface ' , $ etm ->getStorage ('search_api_index ' ));
14
14
assertType ('Drupal\Core\Config\Entity\ConfigEntityStorage ' , $ etm ->getStorage ('block ' ));
15
+ // @todo fix this assert with a lookup on known entity class type.
16
+ // assertType('Drupal\Core\Entity\Sql\SqlContentEntityStorage', $etm->getStorage('content_entity_using_default_storage'));
17
+ assertType ('Drupal\Core\Entity\EntityStorageInterface ' , $ etm ->getStorage ('content_entity_using_default_storage ' ));
15
18
assertType ('Drupal\phpstan_fixtures\CustomContentEntityStorage ' , $ etm ->getStorage ('content_entity_using_custom_storage ' ));
16
19
assertType ('Drupal\Core\Config\Entity\ConfigEntityStorage ' , $ etm ->getStorage ('config_entity_using_default_storage ' ));
17
20
assertType ('Drupal\phpstan_fixtures\CustomConfigEntityStorage ' , $ etm ->getStorage ('config_entity_using_custom_storage ' ));
You can’t perform that action at this time.
0 commit comments