diff vendor/masterminds/html5/src/HTML5/InstructionProcessor.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/vendor/masterminds/html5/src/HTML5/InstructionProcessor.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/masterminds/html5/src/HTML5/InstructionProcessor.php	Thu Feb 28 13:21:36 2019 +0000
@@ -2,6 +2,7 @@
 /**
  * A handler for processor instructions.
  */
+
 namespace Masterminds\HTML5;
 
 /**
@@ -18,7 +19,6 @@
  */
 interface InstructionProcessor
 {
-
     /**
      * Process an individual processing instruction.
      *
@@ -28,16 +28,14 @@
      * - Making any subsequent modifications to the DOM by modifying the
      * DOMElement or its attached DOM tree.
      *
-     * @param DOMElement $element
-     *            The parent element for the current processing instruction.
-     * @param string $name
-     *            The instruction's name. E.g. `<?php` has the name `php`.
-     * @param string $data
-     *            All of the data between the opening and closing PI marks.
-     * @return DOMElement The element that should be considered "Current". This may just be
-     *         the element passed in, but if the processor added more elements,
-     *         it may choose to reset the current element to one of the elements
-     *         it created. (When in doubt, return the element passed in.)
+     * @param \DOMElement $element The parent element for the current processing instruction.
+     * @param string      $name    The instruction's name. E.g. `<?php` has the name `php`.
+     * @param string      $data    All of the data between the opening and closing PI marks.
+     *
+     * @return \DOMElement The element that should be considered "Current". This may just be
+     *                     the element passed in, but if the processor added more elements,
+     *                     it may choose to reset the current element to one of the elements
+     *                     it created. (When in doubt, return the element passed in.)
      */
     public function process(\DOMElement $element, $name, $data);
 }