diff options
author | Simon L <szaimen@e.mail.de> | 2023-06-12 09:46:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 09:46:43 +0200 |
commit | ac57cf9f6b218105d1d473d152af93dd727c7032 (patch) | |
tree | 43fe40db2faec940c34bbe9faa826f38d7936642 /apps/files_external/lib/Command | |
parent | c93be182dc0172eed377ba70ce54cd7c83689764 (diff) | |
parent | 94f2f575194e55ba932f9cb95c834ce2fe1ad506 (diff) | |
download | nextcloud-server-ac57cf9f6b218105d1d473d152af93dd727c7032.tar.gz nextcloud-server-ac57cf9f6b218105d1d473d152af93dd727c7032.zip |
Merge pull request #38619 from fsamapoor/replace_strpos_calls_in_files_external_app
Refactors "strpos" calls in /apps/files_external
Diffstat (limited to 'apps/files_external/lib/Command')
-rw-r--r-- | apps/files_external/lib/Command/Create.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Command/Create.php b/apps/files_external/lib/Command/Create.php index 17e4731a2d6..6208ac0da07 100644 --- a/apps/files_external/lib/Command/Create.php +++ b/apps/files_external/lib/Command/Create.php @@ -134,7 +134,7 @@ class Create extends Base { $config = []; foreach ($configInput as $configOption) { - if (!strpos($configOption, '=')) { + if (!str_contains($configOption, '=')) { $output->writeln('<error>Invalid mount configuration option "' . $configOption . '"</error>'); return 1; } |