mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-07-07 13:40:53 +02:00
1c4f7ab3b8
* add some basic tests for UrlHelper::rewrite_relative() * fix UrlHelper::rewrite_relative() to work better on non-absolute relative URL paths
17 lines
317 B
PHP
17 lines
317 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Node\Scalar\MagicConst;
|
|
|
|
use PhpParser\Node\Scalar\MagicConst;
|
|
|
|
class File extends MagicConst
|
|
{
|
|
public function getName() : string {
|
|
return '__FILE__';
|
|
}
|
|
|
|
public function getType() : string {
|
|
return 'Scalar_MagicConst_File';
|
|
}
|
|
}
|