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

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Network/Network.php

    r873 r874  
    6969    }
    7070    $Output .= '</table>';
    71     return ($Output);
     71    return $Output;
    7272  }
    7373}
     
    8585      $Output = $this->PageNotFound();
    8686    } else $Output = $this->ShowInformation();
    87     return ($Output);
     87    return $Output;
    8888  }
    8989
     
    9191  {
    9292    if (!$this->System->User->CheckPermission('Network', 'ShowInfo'))
    93       return ('Nemáte oprávnění');
     93      return 'Nemáte oprávnění';
    9494
    9595    $Output = '<a href="'.$this->System->Link('/network/frequency-plan/').'">Frekvenční plán</a><br />';
    9696    $Output .= '<a href="'.$this->System->Link('/network/subnet/').'">Výpis registrovaných podsítí</a><br />';
    9797    $Output .= '<a href="'.$this->System->Link('/network/hosts/').'">Registrované zařízení</a><br />';
    98     return ($Output);
     98    return $Output;
    9999  }
    100100}
     
    895895    $Output .= $StillOffline['Report'];
    896896    $Offline = $this->OnlineList('Offline', 0, -1, 0);
    897     return (array('Report' => $Output, 'Count' => $Offline['Count'], 'ShortTitle' => 'Odezva'));
     897    return array('Report' => $Output, 'Count' => $Offline['Count'], 'ShortTitle' => 'Odezva');
    898898  }
    899899
     
    947947    $Output .= $StillOffline['Report'];
    948948    $Offline = $this->PortCheckList('Offline', 0, -1, 0);
    949     return (array('Report' => $Output, 'Count' => $Offline['Count'], 'ShortTitle' => 'Port'));
     949    return array('Report' => $Output, 'Count' => $Offline['Count'], 'ShortTitle' => 'Port');
    950950  }
    951951}
Note: See TracChangeset for help on using the changeset viewer.