Fix bad call to method.

This commit is contained in:
James Cole
2022-05-02 19:35:35 +02:00
parent cf89d93cec
commit 2b615cf757
49 changed files with 157 additions and 157 deletions

View File

@@ -37,7 +37,7 @@ class PreferenceStoreRequest extends FormRequest
public function getAll(): array
{
$array = [
'name' => $this->string('name'),
'name' => $this->convertString('name'),
'data' => $this->get('data'),
];
if ('true' === $array['data']) {

View File

@@ -38,7 +38,7 @@ class PreferenceUpdateRequest extends FormRequest
public function getAll(): array
{
$array = [
'name' => $this->string('name'),
'name' => $this->convertString('name'),
'data' => $this->get('data'),
];
if ('true' === $array['data']) {