PortableInfobox/includes/services/Parser/Nodes/NodeUnimplemented.php

16 lines
386 B
PHP
Raw Normal View History

<?php
namespace PortableInfobox\Parser\Nodes;
class NodeUnimplemented extends Node {
public function getData() {
2021-09-11 18:55:27 +00:00
// @phan-suppress-previous-line PhanPluginNeverReturnMethod LSP violation.
2015-05-06 11:16:55 +00:00
throw new UnimplementedNodeException( $this->getType() );
}
}
2018-10-02 07:41:19 +00:00
// phpcs:ignore Generic.Files.OneObjectStructurePerFile.MultipleFound
class UnimplementedNodeException extends \Exception {
2018-08-16 09:25:53 +00:00
}