Jordi Boggiano %!s(int64=13) %!d(string=hai) anos
pai
achega
1277277ec6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Repository/Vcs/SvnDriver.php

+ 1 - 1
src/Composer/Repository/Vcs/SvnDriver.php

@@ -18,7 +18,7 @@ class SvnDriver implements VcsDriverInterface
     public function __construct($url)
     {
         $this->url = $this->baseUrl = rtrim($url, '/');
-        if (($pos = strrpos($url, '/trunk')) !== false) {
+        if (false !== ($pos = strrpos($url, '/trunk'))) {
             $this->baseUrl = substr($url, 0, $pos);
         }
     }