File tree Expand file tree Collapse file tree
src/Spryker/Zed/DataExport Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public function getDataExportService(): DataExportServiceInterface
7575 }
7676
7777 /**
78- * @return array <\Spryker\Zed\DataExportExtension\Dependency\Plugin\DataEntityExporterPluginInterface>
78+ * @return list <\Spryker\Zed\DataExportExtension\Dependency\Plugin\DataEntityExporterPluginInterface>
7979 */
8080 public function getDataEntityExporterPlugins (): array
8181 {
@@ -91,15 +91,15 @@ public function getGracefulRunnerFacade(): DataExportToGracefulRunnerFacadeInter
9191 }
9292
9393 /**
94- * @return array <\Spryker\Zed\DataExportExtension\Dependency\Plugin\DataEntityReaderPluginInterface>
94+ * @return list <\Spryker\Zed\DataExportExtension\Dependency\Plugin\DataEntityReaderPluginInterface>
9595 */
9696 public function getDataEntityReaderPlugins (): array
9797 {
9898 return $ this ->getProvidedDependency (DataExportDependencyProvider::DATA_ENTITY_READER_PLUGINS );
9999 }
100100
101101 /**
102- * @return array <\Spryker\Zed\DataExportExtension\Dependency\Plugin\DataEntityGeneratorPluginInterface>
102+ * @return list <\Spryker\Zed\DataExportExtension\Dependency\Plugin\DataEntityGeneratorPluginInterface>
103103 */
104104 public function getDataEntityGeneratorPlugins (): array
105105 {
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ public function exportFromGenerator(
5858 ->setIsSuccessful (false );
5959
6060 foreach ($ dataExportGenerator as $ dataExportBatchTransfer ) {
61+ /** @phpstan-ignore instanceof.alwaysTrue */
6162 if (!$ dataExportBatchTransfer instanceof DataExportBatchTransfer) {
6263 throw new TransferTypeMismatchException (
6364 sprintf (
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ protected function addDataEntityExporterPlugins(Container $container): Container
101101 }
102102
103103 /**
104- * @return array <\Spryker\Zed\DataExportExtension\Dependency\Plugin\DataEntityExporterPluginInterface>
104+ * @return list <\Spryker\Zed\DataExportExtension\Dependency\Plugin\DataEntityExporterPluginInterface>
105105 */
106106 protected function getDataEntityExporterPlugins (): array
107107 {
You can’t perform that action at this time.
0 commit comments