Skip to content

Commit 4a10ec8

Browse files
committed
Merge remote-tracking branch 'origin/metadata-in-classes' into metadata-in-classes
2 parents 853a799 + 112c307 commit 4a10ec8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/BuildMetadataPHPFromXml.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use libphonenumber\buildtools\Builders\PhoneMetadataBuilder;
88
use Nette\PhpGenerator\PhpFile;
99
use Nette\PhpGenerator\PsrPrinter;
10+
use RuntimeException;
1011

1112
use function array_keys;
1213
use function count;
@@ -72,7 +73,7 @@ private function writeMetadataToFile(array $metadataCollection, string $director
7273
$pos = strrpos($namespaceAndClassPrefix, '\\');
7374

7475
if ($pos === false) {
75-
throw new \RuntimeException('Invalid namespaceAndClassPrefix: ' . $namespaceAndClassPrefix);
76+
throw new RuntimeException('Invalid namespaceAndClassPrefix: ' . $namespaceAndClassPrefix);
7677
}
7778

7879
$namespace = substr($namespaceAndClassPrefix, 0, $pos);

0 commit comments

Comments
 (0)