Skip to content

Commit

Permalink
Fix type of return functions
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnabil230 committed Jul 15, 2022
1 parent eaf5d86 commit f5b8c9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/Stores/AbstractStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ abstract protected function postOptions(array $options): void;
/**
* Get a specific key from the settings data.
*
* @param string $key
* @param string $default
* @param string|int|null $key
* @param mixed $default
*
* @return mixed
*/
Expand All @@ -76,7 +76,7 @@ abstract public function loadedData(): void;
/**
* Set a specific key to a value in the settings data.
*
* @param string|array $key
* @param mixed $key
* @param mixed $value
*
* @return $this
Expand All @@ -99,7 +99,7 @@ public function set($key, $value = null): self
/**
* Determine if a key exists in the settings data.
*
* @param string $key
* @param string|array $key
*
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Get the setting manager instance.
*
* @param mixed $key
* @param string|null $default
* @param mixed $default
*
* @return \MichaelNabil230\LaravelSetting\Stores\AbstractStore
*/
Expand Down

0 comments on commit f5b8c9d

Please sign in to comment.