Skip to content
Permalink
Browse files

Merge pull request #2968 from forkcms/default-can-be-anything

Allow anything as a default setting
  • Loading branch information...
carakas committed Nov 7, 2019
2 parents ef8baf8 + 49d136d commit c6bfbc516f522e4eafec220e41a6ba75a62ab8da
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Frontend/Modules/Profiles/Engine/Profile.php
@@ -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)) {

0 comments on commit c6bfbc5

Please sign in to comment.
You can’t perform that action at this time.