Skip to content

Commit c8c9ee5

Browse files
Update ArabicDiffForHumans.php
1 parent 741a869 commit c8c9ee5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Classes/ArabicDiffForHumans.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,9 @@ public function getFromDateString($dateString)
3838
public function get($timeStamp)
3939
{
4040
$diff = $this->getDifference($timeStamp);
41-
echo $diff;
42-
echo "\n";
41+
4342
$unit = $this->unit($diff);
44-
echo $unit;
45-
echo "\n";
4643
$valueOfDifference = floor($this->DiffValue($diff, $unit));
47-
echo $valueOfDifference . "\n";
4844
$result = "";
4945

5046
foreach ($this->formatted as $key => $value) {

0 commit comments

Comments
 (0)