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/Packages/Common/Table.php

    r873 r874  
    77  function Show()
    88  {
    9     return ('');
     9    return '';
    1010  }
    1111}
     
    1515  function GetCell($Y, $X)
    1616  {
    17     return ('');
     17    return '';
    1818  }
    1919
     
    2828  function RowsCount()
    2929  {
    30     return (0);
     30    return 0;
    3131  }
    3232}
     
    3838  function GetCell($Y, $X)
    3939  {
    40     return ($this->Cells[$Y][$X]);
     40    return $this->Cells[$Y][$X];
    4141  }
    4242
    4343  function RowsCount()
    4444  {
    45     return (count($this->Cells));
     45    return count($this->Cells);
    4646  }
    4747}
     
    5555  function GetCell($Y, $X)
    5656  {
    57     return ($this->Cells[$Y][$X]);
     57    return $this->Cells[$Y][$X];
    5858  }
    5959
     
    7575  function RowsCount()
    7676  {
    77     return (count($this->Cells));
     77    return count($this->Cells);
    7878  }
    7979}
     
    145145    $this->Table->EndRead();
    146146    $Output .= '</table>';
    147     return ($Output);
     147    return $Output;
    148148  }
    149149
     
    190190    $this->OrderDirection = $_SESSION['OrderDir'];
    191191
    192     return ('<tr>'.$Result.'</tr>');
     192    return '<tr>'.$Result.'</tr>';
    193193  }
    194194}
Note: See TracChangeset for help on using the changeset viewer.