Skip to content

Commit

Permalink
Incompatible declaration of values()-method
Browse files Browse the repository at this point in the history
The values-method in the SettingsCollection is incompatible with latest illuminate versions. Since v9.13.0.

See also laravel/framework#42257
  • Loading branch information
RenoLooijmans authored Jun 9, 2022
1 parent 42226bf commit 18d46bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SettingsCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function groups(): static
*
* @return Carbon|\Illuminate\Support\Collection|array|string|int|float|bool|null
*/
public function value(string $name, mixed $default = null): Carbon|Collection|array|string|int|float|bool|null
public function value($name, $default = null): Carbon|Collection|array|string|int|float|bool|null
{
$setting = $this->get($name, $default);

Expand Down

0 comments on commit 18d46bb

Please sign in to comment.