diff --git a/src/Handlers/BaseHandler.php b/src/Handlers/BaseHandler.php index cf2a22c..6ec86a7 100644 --- a/src/Handlers/BaseHandler.php +++ b/src/Handlers/BaseHandler.php @@ -26,9 +26,9 @@ abstract public function get(string $class, string $property, ?string $context = * * @param mixed $value * - * @throws RuntimeException - * * @return void + * + * @throws RuntimeException */ public function set(string $class, string $property, $value = null, ?string $context = null) { @@ -41,9 +41,9 @@ public function set(string $class, string $property, $value = null, ?string $con * Not all Handlers will support writing values. * Must throw RuntimeException for any failures. * - * @throws RuntimeException - * * @return void + * + * @throws RuntimeException */ public function forget(string $class, string $property, ?string $context = null) { diff --git a/src/Handlers/DatabaseHandler.php b/src/Handlers/DatabaseHandler.php index 78f5b72..abeffda 100644 --- a/src/Handlers/DatabaseHandler.php +++ b/src/Handlers/DatabaseHandler.php @@ -60,9 +60,9 @@ public function get(string $class, string $property, ?string $context = null) * * @param mixed $value * - * @throws RuntimeException For database failures - * * @return void + * + * @throws RuntimeException For database failures */ public function set(string $class, string $property, $value = null, ?string $context = null) { diff --git a/src/Settings.php b/src/Settings.php index dd3e7e8..9da736c 100644 --- a/src/Settings.php +++ b/src/Settings.php @@ -104,9 +104,9 @@ public function forget(string $key, ?string $context = null) /** * Returns the handler that is set to store values. * - * @throws RuntimeException - * * @return BaseHandler[] + * + * @throws RuntimeException */ private function getWriteHandlers() { @@ -128,9 +128,9 @@ private function getWriteHandlers() /** * Analyzes the given key and breaks it into the class.field parts. * - * @throws InvalidArgumentException - * * @return string[] + * + * @throws InvalidArgumentException */ private function parseDotSyntax(string $key): array {