Skip to content
This repository has been archived by the owner on Feb 18, 2019. It is now read-only.

Commit

Permalink
replace "\n" to PHP_EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlindaruk committed Sep 2, 2018
1 parent 2a9e329 commit 8675308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WhereIsMyTeacherBot/Model/TeacherParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function parse(): string
$text = FreeChoiceSubjectDictionary::getSubjectByFreeChoiceSearchEntity($entity) . PHP_EOL . $text;
}

$text = "\n<b>$time:</b> " . str_replace($this->teacherName, '', $text) . "\n";
$text = PHP_EOL . "<b>$time:</b> " . str_replace($this->teacherName, '', $text);

$lessonsList .= $text;
}
Expand Down

0 comments on commit 8675308

Please sign in to comment.