Plugin Directory

Changeset 2711278


Ignore:
Timestamp:
04/18/2022 10:52:42 PM (4 years ago)
Author:
hexydec
Message:

Fixed compatibility issue.

Location:
torque
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • torque/tags/0.6.1/packages/htmldoc/htmldoc.php

    r2711273 r2711278  
    121121     * @return htmldoc|null The child node at the requested position or null if there is no child at the requested position
    122122     */
    123     public function offsetGet(mixed $i) : ?htmldoc { // return reference so you can set it like an array
     123    public function offsetGet($i) : ?htmldoc { // return reference so you can set it like an array
    124124        if (isset($this->children[$i])) {
    125125            $obj = new htmldoc($this->config);
  • torque/trunk/packages/htmldoc/htmldoc.php

    r2711273 r2711278  
    121121     * @return htmldoc|null The child node at the requested position or null if there is no child at the requested position
    122122     */
    123     public function offsetGet(mixed $i) : ?htmldoc { // return reference so you can set it like an array
     123    public function offsetGet($i) : ?htmldoc { // return reference so you can set it like an array
    124124        if (isset($this->children[$i])) {
    125125            $obj = new htmldoc($this->config);
Note: See TracChangeset for help on using the changeset viewer.