Skip to content

Commit

Permalink
php lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zaliqarosli committed Nov 24, 2020
1 parent cb5709b commit 0fc309f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion php/libraries/NDB_BVL_Instrument_LINST.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,9 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
// Set date format
$dateFormat = isset($pieces[5]) ? trim($pieces[5]) : "";

if (isset($dateFormat) && $dateFormat != "" && $dateFormat !== "Date") {
if (isset($dateFormat) && $dateFormat != ""
&& $dateFormat !== "Date"
) {
if ($dateFormat === 'MonthYear') {
// Shows date without day of month
$this->addMonthYear(
Expand Down

0 comments on commit 0fc309f

Please # to comment.