mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
code style. operator IF
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user