Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Handlers/BaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Handlers/DatabaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
8 changes: 4 additions & 4 deletions src/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand All @@ -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
{
Expand Down