Skip to content

Commit

Permalink
fix: Parameter type (#83)
Browse files Browse the repository at this point in the history
* fix: Parameter type
  • Loading branch information
nmfzone authored Apr 7, 2021
1 parent 8edee93 commit 3ce84e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to `glorand/laravel-model-settings` will be documented in this file

## 4.2.2 - 2021-04-07
### Fix param type

## 4.2.1 - 2020-12-14
### Added
- PHP8 support
Expand Down
4 changes: 2 additions & 2 deletions src/Contracts/SettingsManagerContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function apply(array $settings = []): self;
* Fetches a value from the settings.
*
* @param string|null $path if null returns all the settings array
* @param null $default default value to return if the path does not exist
* @param mixed $default default value to return if the path does not exist
* @return mixed
*/
public function get(string $path = null, $default = null);
Expand All @@ -29,7 +29,7 @@ public function get(string $path = null, $default = null);
* Obtains multiple items by their paths.
*
* @param iterable $paths
* @param null $default
* @param mixed $default
* @return iterable A list of key => value pairs.
* Paths that do not exist will have $default as value.
*/
Expand Down

0 comments on commit 3ce84e2

Please sign in to comment.