I just looked at \Drupal\search_api\UnsavedIndexConfiguration and PhpStorm showed me four hard errors: For some reason, we redirect the static methods (preCreate() et al.) to calls on EntityInterface (so, e.g., EntityInterface::preCreate(…)) – which is, of course, nonsense.

Apparently, those methods are never used (which makes sense, as UnsavedIndexConfiguration isn’t actually an entity plugin class), but should probably still be fixed for the sake of less red squiggly lines.

Comments

drunken monkey created an issue. See original summary.

drunken monkey’s picture

Status: Active » Needs review
StatusFileSize
new1.58 KB
drunken monkey’s picture

Priority: Normal » Minor
drunken monkey’s picture

Status: Needs review » Fixed

  • drunken monkey committed 829e840 on 8.x-1.x
    Issue #3256114 by drunken monkey: Fixed wrong static method calls in...
drunken monkey’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.