Ignore:
Timestamp:
Apr 6, 2020, 11:56:19 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Do not use parenthesis around returned value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigRouterOS/Routerboard.php

    r873 r874  
    4141    } else
    4242      $Output = array_merge($Output, $this->ExecuteBatch($Commands));
    43     return ($Output);
     43    return $Output;
    4444  }
    4545
     
    6262    } else $Output = '';
    6363    if ($this->Debug) print_r($Output);
    64     return ($Output);
     64    return $Output;
    6565  }
    6666
     
    7979      } else $List[substr($ResultLineParts[0], 0, -1)] = '';
    8080    }
    81     return ($List);
     81    return $List;
    8282  }
    8383
     
    113113      $List[] = $ListItem;
    114114    }
    115     return ($List);
     115    return $List;
    116116  }
    117117
     
    148148      if (count($ListItem) > 0) $List[] = $ListItem;
    149149    }
    150     return ($List);
     150    return $List;
    151151  }
    152152
     
    244244    }
    245245    if ($this->Debug) print_r($Commands);
    246     return ($this->Execute($Commands));
     246    return $this->Execute($Commands);
    247247  }
    248248}
Note: See TracChangeset for help on using the changeset viewer.