Small fix for PSR guidelines.

This commit is contained in:
Wim Rijnders
2013-02-05 11:40:01 +01:00
parent a22760d5ad
commit dcd701faf9

View File

@@ -24,7 +24,7 @@ class Routing
function ($repo) use ($app, $self) {
$repoName = $repo['name'] ;
//Windows
if ($self->OSIsWindows()){
if ($self->isWindows()){
$repoName = str_replace('\\', '\\\\',$repoName);
}
return $repoName;
@@ -41,7 +41,7 @@ class Routing
}
public function OSIsWindows()
public function isWindows()
{
switch(PHP_OS){
case 'WIN32':