Remove unnecessary slash from in_array()

This commit is contained in:
James Cole
2019-06-22 13:09:25 +02:00
parent 940a730827
commit 956ec23d3c
20 changed files with 34 additions and 34 deletions

View File

@@ -131,7 +131,7 @@ class ConfigureUploadHandler implements FileConfigurationInterface
{
$return = [];
// check if specifics given are correct:
if (isset($data['specifics']) && \is_array($data['specifics'])) {
if (isset($data['specifics']) && is_array($data['specifics'])) {
foreach ($data['specifics'] as $name) {
// verify their content.