Code should not be duplicated

  • Minor
  • Architecture

More information: https://insight.sensiolabs.com/what-we-analyse/php.duplicated_code

  1. */
  2. public function setFalseLabel($falseLabel)
  3. {
  4. $this->falseLabel = $falseLabel;
  5. return $this;

    The next 81 lines appear both in Datatable/Column/BooleanColumn.php:276 and Datatable/Column/DateTimeColumn.php:181.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by stwe
  6. }
  7. //-------------------------------------------------
  8. // Helper
  9. //-------------------------------------------------