mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-11 16:16:18 +00:00
16 lines
386 B
PHP
16 lines
386 B
PHP
<?php
|
|
namespace PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeUnimplemented extends Node {
|
|
|
|
public function getData() {
|
|
// @phan-suppress-previous-line PhanPluginNeverReturnMethod LSP violation.
|
|
|
|
throw new UnimplementedNodeException( $this->getType() );
|
|
}
|
|
}
|
|
|
|
// phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound
|
|
class UnimplementedNodeException extends \Exception {
|
|
}
|