Plugin Directory

Changeset 2711280


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

Fixed compatibility issue in cssdoc.

Location:
torque
Files:
2 edited

Legend:

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

    r2711273 r2711280  
    285285     * @return mixed The requested value or null if the key doesn't exist
    286286     */
    287     public function offsetGet(mixed $i) : mixed { // return reference so you can set it like an array
     287    public function offsetGet($i) : mixed { // return reference so you can set it like an array
    288288        return $this->document->rules[$i] ?? null;
    289289    }
  • torque/trunk/packages/cssdoc/cssdoc.php

    r2711273 r2711280  
    285285     * @return mixed The requested value or null if the key doesn't exist
    286286     */
    287     public function offsetGet(mixed $i) : mixed { // return reference so you can set it like an array
     287    public function offsetGet($i) : mixed { // return reference so you can set it like an array
    288288        return $this->document->rules[$i] ?? null;
    289289    }
Note: See TracChangeset for help on using the changeset viewer.