Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Apr 9, 2021
1 parent 5b70678 commit 16993a7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,8 @@ public static function parse(string $json, bool $assoc = false, int $depth = 512

public static function parseFromFile(string $file, bool $assoc = false, int $depth = 512, int $options = 0)
{
$json = file_get_contents($file);
echo "\n";
// echo (new static)->strip($json);
return static::parse(trim($json), $assoc, $depth, $options);
$json = \file_get_contents($file);

return static::parse(\trim($json), $assoc, $depth, $options);
}
}

0 comments on commit 16993a7

Please sign in to comment.