mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-07 20:00:50 +00:00
40f2bcdb1e
29b79786e2
add getStringValue() to value resolver (#1130)
24 lines
686 B
PHP
24 lines
686 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Nette\NeonParser\Node;
|
|
|
|
use RectorPrefix20211102\Nette\Neon\Node;
|
|
use Rector\Nette\NeonParser\Exception\UnusedVirtualMethodException;
|
|
abstract class AbstractVirtualNode extends \RectorPrefix20211102\Nette\Neon\Node
|
|
{
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function toValue()
|
|
{
|
|
// never used, just to make parent contract happy
|
|
throw new \Rector\Nette\NeonParser\Exception\UnusedVirtualMethodException();
|
|
}
|
|
public function toString() : string
|
|
{
|
|
// never used, just to make parent contract happy
|
|
throw new \Rector\Nette\NeonParser\Exception\UnusedVirtualMethodException();
|
|
}
|
|
}
|