From b3b2c4279d342fd18d6cef557ef513d5b163a43a Mon Sep 17 00:00:00 2001 From: Daniel Hirtzbruch Date: Mon, 13 Nov 2023 06:58:55 +0100 Subject: [PATCH] cs --- src/Exceptions/SourceUnavailableException.php | 7 ++++++- src/Types/ImportSourceDefinition/Api.php | 8 ++++++++ src/Types/ImportSourceDefinition/Csv.php | 8 ++++++++ src/Types/ImportSourceDefinition/Xlsx.php | 8 ++++++++ 4 files changed, 30 insertions(+), 1 deletion(-) diff --git a/src/Exceptions/SourceUnavailableException.php b/src/Exceptions/SourceUnavailableException.php index 4285e70..5dc2c31 100644 --- a/src/Exceptions/SourceUnavailableException.php +++ b/src/Exceptions/SourceUnavailableException.php @@ -1,10 +1,15 @@ throwOnSourceUnavailable; } + /** + * @param bool $throwOnSourceUnavailable + * + * @return void + */ public function setThrowOnSourceUnavailable(bool $throwOnSourceUnavailable): void { $this->throwOnSourceUnavailable = $throwOnSourceUnavailable; diff --git a/src/Types/ImportSourceDefinition/Csv.php b/src/Types/ImportSourceDefinition/Csv.php index 76f3a6e..f915ba8 100644 --- a/src/Types/ImportSourceDefinition/Csv.php +++ b/src/Types/ImportSourceDefinition/Csv.php @@ -135,11 +135,19 @@ public function getArchivingStrategy(): ArchivingStrategy return $this->archivingStrategy; } + /** + * @return bool + */ public function throwOnSourceUnavailable(): bool { return $this->throwOnSourceUnavailable; } + /** + * @param bool $throwOnSourceUnavailable + * + * @return void + */ public function setThrowOnSourceUnavailable(bool $throwOnSourceUnavailable): void { $this->throwOnSourceUnavailable = $throwOnSourceUnavailable; diff --git a/src/Types/ImportSourceDefinition/Xlsx.php b/src/Types/ImportSourceDefinition/Xlsx.php index 528604f..85f12da 100644 --- a/src/Types/ImportSourceDefinition/Xlsx.php +++ b/src/Types/ImportSourceDefinition/Xlsx.php @@ -87,11 +87,19 @@ public function getArchivingStrategy(): ArchivingStrategy return $this->archivingStrategy; } + /** + * @return bool + */ public function throwOnSourceUnavailable(): bool { return $this->throwOnSourceUnavailable; } + /** + * @param bool $throwOnSourceUnavailable + * + * @return void + */ public function setThrowOnSourceUnavailable(bool $throwOnSourceUnavailable): void { $this->throwOnSourceUnavailable = $throwOnSourceUnavailable;