diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-01-11 14:15:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 14:15:16 +0100 |
commit | 5ed673e5ebd20884f183cf00bee5cc8938a1d7be (patch) | |
tree | f28a8b0949fb18a94584dcf016d7e78fb2ceebd8 /apps/workflowengine | |
parent | 683685b72c90a892904026560ac4eba740d20382 (diff) | |
parent | 24d436cb600a725ba162a5387552a996a6fc486f (diff) | |
download | nextcloud-server-5ed673e5ebd20884f183cf00bee5cc8938a1d7be.tar.gz nextcloud-server-5ed673e5ebd20884f183cf00bee5cc8938a1d7be.zip |
Merge pull request #25073 from nextcloud/psalm/24521/remove-unneeded-casts
Remove unneeded casts that were found by Psalm
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/lib/Check/RequestUserAgent.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Check/RequestUserAgent.php b/apps/workflowengine/lib/Check/RequestUserAgent.php index 9679f631897..d5ca80e9d3e 100644 --- a/apps/workflowengine/lib/Check/RequestUserAgent.php +++ b/apps/workflowengine/lib/Check/RequestUserAgent.php @@ -76,7 +76,7 @@ class RequestUserAgent extends AbstractStringCheck { * @return string */ protected function getActualValue() { - return (string) $this->request->getHeader('User-Agent'); + return $this->request->getHeader('User-Agent'); } public function isAvailableForScope(int $scope): bool { |