From 988c90a44bf49fa38db431cc00f1c0bede9b3034 Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Sat, 7 Jul 2018 18:20:17 -0700 Subject: [PATCH] Miscellaneous docblock fixes --- src/Config/Config.php | 2 ++ src/Traits/ArrayAccess.php | 9 +++++++++ src/Traits/Transformable.php | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/Config/Config.php b/src/Config/Config.php index 2f1691e..5a45359 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -13,6 +13,8 @@ abstract class Config * @param mixed $option A given option * * @throws \PHLAK\Twine\Exceptions\InvalidConfigOptionException + * + * @return void */ public static function validateOption($option) { diff --git a/src/Traits/ArrayAccess.php b/src/Traits/ArrayAccess.php index ba89424..82f6df6 100644 --- a/src/Traits/ArrayAccess.php +++ b/src/Traits/ArrayAccess.php @@ -32,7 +32,12 @@ public function offsetGet($offset) /** * Not implemented due to immutability. * + * @param $offset Not implemented + * @param $value Not implemented + * * @throws \RuntimeException + * + * @return void */ public function offsetSet($offset, $value) { @@ -42,7 +47,11 @@ public function offsetSet($offset, $value) /** * Not implemented due to immutability. * + * @param $offset Not implemented + * * @throws \RuntimeException + * + * @return void */ public function offsetUnset($offset) { diff --git a/src/Traits/Transformable.php b/src/Traits/Transformable.php index da17cc5..94732c5 100644 --- a/src/Traits/Transformable.php +++ b/src/Traits/Transformable.php @@ -129,7 +129,7 @@ public function shuffle() return new static(str_shuffle($this->string)); } - /* + /** * Repeat the string multiple times. * * @param int $multiplier Number of times to repeat the string