Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d394ed6

Browse files
authored
Merge pull request #3 from webstone/fix-laravel-5.x-compatibility
Make laravel-lang-installer compatible with Laravel v5.x
2 parents b5ec52b + 79fe970 commit d394ed6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"require": {
1616
"php": ">=5.5.9",
17-
"illuminate/support": "5.1.*"
17+
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*"
1818
},
1919
"autoload": {
2020
"psr-4": {

src/Services/GithubResourcesRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function getVersions()
3939
*/
4040
protected function getUrl($version, $lang, $file)
4141
{
42-
return $this->getLocation() . '/' . $version . '/' . $lang . '/' . $file . '.php';
42+
return $this->getLocation() . '/' . $version . '/src/' . $lang . '/' . $file . '.php';
4343
}
4444

4545
/**

0 commit comments

Comments
 (0)