mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-05-06 19:27:09 +02:00
Small fix for PSR guidelines.
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user