Skip to content

Commit

Permalink
Merge pull request #2968 from forkcms/default-can-be-anything
Browse files Browse the repository at this point in the history
Allow anything as a default setting
  • Loading branch information
carakas committed Nov 7, 2019
2 parents ef8baf8 + 49d136d commit c6bfbc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Frontend/Modules/Profiles/Engine/Profile.php
Expand Up @@ -98,11 +98,11 @@ public function getRegisteredOn(): int
* Get a profile setting by name.
*
* @param string $name Setting name.
* @param string $defaultValue Default value is used when the setting does not exist.
* @param mixed $defaultValue Default value is used when the setting does not exist.
*
* @return mixed
*/
public function getSetting(string $name, string $defaultValue = null)
public function getSetting(string $name, $defaultValue = null)
{
// if settings array does not exist then get it first
if (empty($this->settings)) {
Expand Down

0 comments on commit c6bfbc5

Please sign in to comment.