diff --git a/src/Admin/AbstractAdmin.php b/src/Admin/AbstractAdmin.php index 2c37b6634a..e8114e2b81 100644 --- a/src/Admin/AbstractAdmin.php +++ b/src/Admin/AbstractAdmin.php @@ -1249,6 +1249,7 @@ public function getNewInstance() $extension->alterNewInstance($this, $object); } + /* @psalm-suppress InvalidReturnStatement (@see https://github.com/vimeo/psalm/issues/4868) */ return $object; }