Skip to content

Commit

Permalink
Satır içi yorum hatası düzeltildi
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammetsafak committed Jul 30, 2023
1 parent 3b3c696 commit 8ead1de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ private function createImmutable($path, $debug = true)
if (preg_match('/^"(.*)"/i', $value, $matches) || preg_match("/^'(.*)'/i", $value, $matches)) {
$value = $matches[1];
} else {
if (preg_match('/[ \t]*+(?:#.*)?$/i', $value, $matches)) {
preg_match('/[ \t]*+(?:#.*)?$/i', $value, $matches);
if (!empty($matches[0])) {
$value = substr($value, 0, (0 - strlen($matches[0])));
}
$value = trim($value);
Expand Down

0 comments on commit 8ead1de

Please sign in to comment.