code style. operator IF

This commit is contained in:
Alexander Mohorev
2014-03-03 21:32:34 +03:00
parent c7e8d8b900
commit b2f1b00bf2
24 changed files with 46 additions and 45 deletions

View File

@ -106,10 +106,11 @@ class BaseDoc extends Object
public function getSourceUrl($baseUrl, $line=null)
{
if($line === null)
if ($line === null) {
return $baseUrl . $this->sourcePath;
else
} else {
return $baseUrl . $this->sourcePath . '#' . $line;
}
}
public function getSourceCode()