Skip to content

Commit

Permalink
Miscellaneous docblock fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed Jul 8, 2018
1 parent 349e856 commit 988c90a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
9 changes: 9 additions & 0 deletions src/Traits/ArrayAccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/Transformable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 988c90a

Please sign in to comment.