diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-12-13 12:27:44 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-12-13 13:31:18 +0000 |
| commit | b46c87bda4b592cf9252f1db48552a820b1e3d97 (patch) | |
| tree | a32161f0153d365c2ad74b94c5768b96aa8c68e6 /app/Services/MediaFileService.php | |
| parent | 9586c1e49dfc72375867ccdfa97169553c441dd2 (diff) | |
| download | webtrees-b46c87bda4b592cf9252f1db48552a820b1e3d97.tar.gz webtrees-b46c87bda4b592cf9252f1db48552a820b1e3d97.tar.bz2 webtrees-b46c87bda4b592cf9252f1db48552a820b1e3d97.zip | |
CodeStyle - strict types
Diffstat (limited to 'app/Services/MediaFileService.php')
| -rw-r--r-- | app/Services/MediaFileService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Services/MediaFileService.php b/app/Services/MediaFileService.php index b2c3569cea..76565d6caf 100644 --- a/app/Services/MediaFileService.php +++ b/app/Services/MediaFileService.php @@ -185,7 +185,7 @@ class MediaFileService $data_filesystem = $request->getAttribute('filesystem.data'); assert($data_filesystem instanceof FilesystemInterface); - $params = $request->getParsedBody(); + $params = (array) $request->getParsedBody(); $file_location = $params['file_location']; switch ($file_location) { |
