X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/19e297c21b10b1b8a3acad5e73fc71dcb35db44a..6932310fd58ebef145fa01eb76edf7150284d8ea:/vendor/wikimedia/css-sanitizer/src/Objects/Rule.php diff --git a/vendor/wikimedia/css-sanitizer/src/Objects/Rule.php b/vendor/wikimedia/css-sanitizer/src/Objects/Rule.php new file mode 100644 index 00000000..cffe8cc0 --- /dev/null +++ b/vendor/wikimedia/css-sanitizer/src/Objects/Rule.php @@ -0,0 +1,33 @@ +line, $this->pos ) = $token->getPosition(); + } + + /** + * Get the position of this Declaration in the input stream + * @return array [ $line, $pos ] + */ + public function getPosition() { + return [ $this->line, $this->pos ]; + } +}