Skip to content

Commit 69cecb4

Browse files
koost89Kevin Oosterveen
and
Kevin Oosterveen
authored
Fix deprecation warning on PHP 8.2 - ${path} (#182)
Co-authored-by: Kevin Oosterveen <[email protected]>
1 parent ec4da2c commit 69cecb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mariuzzo/LaravelJsLocalization/Generators/LangJsGenerator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected function getMessages($noSort)
122122
$path = $this->sourcePath;
123123

124124
if (!$this->file->exists($path)) {
125-
throw new \Exception("${path} doesn't exists!");
125+
throw new \Exception("{$path} doesn't exists!");
126126
}
127127

128128
foreach ($this->file->allFiles($path) as $file) {

0 commit comments

Comments
 (0)