summaryrefslogtreecommitdiff
path: root/src/Build/RelationshipHandler.php
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-01-21 15:45:42 +0800
committerZhineng Li <[email protected]>2026-01-21 15:45:42 +0800
commit764fc653c834bee927b69bca378886b134605b65 (patch)
tree1e4416afe443ae37c5113a6bf16d0d4c3989b529 /src/Build/RelationshipHandler.php
parent67f5c8de2647a2685566eda3425820db6010331f (diff)
downloadregion-china-764fc653c834bee927b69bca378886b134605b65.tar.gz
region-china-764fc653c834bee927b69bca378886b134605b65.zip
append newline
Diffstat (limited to 'src/Build/RelationshipHandler.php')
-rw-r--r--src/Build/RelationshipHandler.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Build/RelationshipHandler.php b/src/Build/RelationshipHandler.php
index c17def9..4f0e752 100644
--- a/src/Build/RelationshipHandler.php
+++ b/src/Build/RelationshipHandler.php
@@ -119,6 +119,8 @@ final class RelationshipHandler implements RegionHandler
{
$exported = VarExporter::export($this->data);
- file_put_contents($destination, '<?php return '.$exported.';');
+ file_put_contents($destination, sprintf('<?php return %s;'.PHP_EOL,
+ $exported
+ ));
}
}