Skip to content

Commit 67cba0b

Browse files
committed
Make the SourceFile constructor private
1 parent 4807f9d commit 67cba0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SourceFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static function fromString(string $content, ?UriInterface $sourceUrl = nu
3232
return new SourceFile($content, $sourceUrl);
3333
}
3434

35-
public function __construct(string $content, ?UriInterface $sourceUrl = null)
35+
private function __construct(string $content, ?UriInterface $sourceUrl = null)
3636
{
3737
$this->string = $content;
3838
$this->sourceUrl = $sourceUrl;

0 commit comments

Comments
 (0)