File tree 5 files changed +1
-6
lines changed
5 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ private function addStringsFromJsonFiles($translations)
179
179
180
180
// Load each JSON file to get source strings
181
181
foreach ($ this ->JsonFiles () as $ jsonFile ) {
182
- $ jsonTranslations = json_decode (file_get_contents ($ jsonFile ), true );
182
+ $ jsonTranslations = json_decode (file_get_contents ($ jsonFile ), true );
183
183
if (!is_array ($ jsonTranslations )) {
184
184
throw new \Exception ("The file ' $ jsonFile' is not valid JSON.' " );
185
185
}
Original file line number Diff line number Diff line change 2
2
3
3
namespace Tio \Laravel \Service ;
4
4
5
- use Illuminate \Support \Str ;
6
5
use Tio \Laravel \SourceSaver ;
7
6
use Carbon \Carbon ;
8
7
use GuzzleHttp \Client ;
Original file line number Diff line number Diff line change 2
2
3
3
namespace Tio \Laravel ;
4
4
5
- use Illuminate \Support \Str ;
6
5
use Tio \Laravel \PrettyVarExport ;
7
6
use Illuminate \Contracts \Foundation \Application ;
8
7
use Illuminate \Filesystem \Filesystem ;
Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Contracts \Foundation \Application ;
6
6
use Illuminate \Filesystem \Filesystem ;
7
- use Illuminate \Support \Arr ;
8
7
use Illuminate \Translation \Translator ;
9
8
use Illuminate \Support \Arr ;
10
9
use SplFileInfo ;
Original file line number Diff line number Diff line change 3
3
namespace Tio \Laravel ;
4
4
5
5
use Illuminate \Contracts \Foundation \Application ;
6
- use Illuminate \Support \Arr ;
7
- use Illuminate \Support \Str ;
8
6
use Tio \Laravel \PrettyVarExport ;
9
7
use Illuminate \Filesystem \Filesystem ;
10
8
use Illuminate \Translation \Translator ;
You can’t perform that action at this time.
0 commit comments