dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup some incorrect return annotations
[lhc/web/wiklou.git]
/
includes
/
http
/
Http.php
diff --git
a/includes/http/Http.php
b/includes/http/Http.php
index
8255bb3
..
779d606
100644
(file)
--- a/
includes/http/Http.php
+++ b/
includes/http/Http.php
@@
-142,7
+142,7
@@
class Http {
* @return bool
*/
public static function isValidURI( $uri ) {
- return preg_match(
+ return
(bool)
preg_match(
'/^https?:\/\/[^\/\s]\S*$/D',
$uri
);