There was an error while loading. Please reload this page.
2 parents 6daf09a + 170375a commit dfbc0a8Copy full SHA for dfbc0a8
src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php
@@ -31,7 +31,7 @@ class CodeHelper extends Helper
31
*/
32
public function __construct($fileLinkFormat, $rootDir)
33
{
34
- $this->fileLinkFormat = null !== $fileLinkFormat ? $fileLinkFormat : ini_get('xdebug.file_link_format');
+ $this->fileLinkFormat = empty($fileLinkFormat) ? ini_get('xdebug.file_link_format') : $fileLinkFormat;
35
$this->rootDir = str_replace('\\', '/', $rootDir).'/';
36
}
37
0 commit comments