]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make scrutinizer happy
authorLukas Reschke <lukas@owncloud.com>
Mon, 16 Feb 2015 13:01:15 +0000 (14:01 +0100)
committerLukas Reschke <lukas@owncloud.com>
Mon, 16 Feb 2015 21:13:00 +0000 (22:13 +0100)
lib/private/appframework/http/request.php
lib/private/security/trusteddomainhelper.php
lib/public/irequest.php

index f11d189962da0fb917ba78b0ef2335f677432b31..97e9809c1fba896f45ebec8c39eb37778a330a53 100644 (file)
@@ -521,7 +521,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
        /**
         * Get raw PathInfo from request (not urldecoded)
         * @throws \Exception
-        * @return string|false Path info or false when not found
+        * @return string Path info
         */
        public function getRawPathInfo() {
                $requestUri = isset($this->server['REQUEST_URI']) ? $this->server['REQUEST_URI'] : '';
index 593263897be339e106688a1fd53340f0be94149c..da5e0ff0a1209087f2a0ae0834417a07433c4d42 100644 (file)
@@ -28,7 +28,7 @@ class TrustedDomainHelper {
 
        /**
         * Strips a potential port from a domain (in format domain:port)
-        * @param $host
+        * @param string $host
         * @return string $host without appended port
         */
        private function getDomainWithoutPort($host) {
index 814fc0251cf968aa8787c2a653b24e4f234d44f8..025c8367d418a3ec3e8619e797761d0907670b7f 100644 (file)
@@ -161,7 +161,7 @@ interface IRequest {
        /**
         * Get raw PathInfo from request (not urldecoded)
         * @throws \Exception
-        * @return string|false Path info or false when not found
+        * @return string Path info
         */
        public function getRawPathInfo();