Skip to content

Commit 988c90a

Browse files
committed
Miscellaneous docblock fixes
1 parent 349e856 commit 988c90a

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

src/Config/Config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ abstract class Config
1313
* @param mixed $option A given option
1414
*
1515
* @throws \PHLAK\Twine\Exceptions\InvalidConfigOptionException
16+
*
17+
* @return void
1618
*/
1719
public static function validateOption($option)
1820
{

src/Traits/ArrayAccess.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ public function offsetGet($offset)
3232
/**
3333
* Not implemented due to immutability.
3434
*
35+
* @param $offset Not implemented
36+
* @param $value Not implemented
37+
*
3538
* @throws \RuntimeException
39+
*
40+
* @return void
3641
*/
3742
public function offsetSet($offset, $value)
3843
{
@@ -42,7 +47,11 @@ public function offsetSet($offset, $value)
4247
/**
4348
* Not implemented due to immutability.
4449
*
50+
* @param $offset Not implemented
51+
*
4552
* @throws \RuntimeException
53+
*
54+
* @return void
4655
*/
4756
public function offsetUnset($offset)
4857
{

src/Traits/Transformable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function shuffle()
129129
return new static(str_shuffle($this->string));
130130
}
131131

132-
/*
132+
/**
133133
* Repeat the string multiple times.
134134
*
135135
* @param int $multiplier Number of times to repeat the string

0 commit comments

Comments
 (0)