Skip to content

Commit 065e930

Browse files
committed
fix for broken core method
1 parent 3576ed6 commit 065e930

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
],
1414
"require": {
1515
"php": "^5.5.9 || ^7.0",
16-
"illuminate/support": "5.1.* || 5.2.*",
17-
"illuminate/console": "5.1.* || 5.2.*",
18-
"illuminate/filesystem": "5.1.* || 5.2.*"
16+
"illuminate/support": "5.1.* || 5.2.* || 5.3.*",
17+
"illuminate/console": "5.1.* || 5.2.* || 5.3.*",
18+
"illuminate/filesystem": "5.1.* || 5.2.* || 5.3.*"
1919
},
2020
"require-dev": {
2121
"phpunit/phpunit" : "^4.8 || ^5.0",
22-
"orchestra/testbench": "^3.2",
22+
"orchestra/testbench": "3.3.x-dev",
23+
"orchestra/database": "3.3.x-dev",
2324
"mockery/mockery": "~0.9.4"
2425
},
2526
"autoload": {

src/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public function getKeysExistingInALanguageButNotTheOther($values)
375375
}
376376

377377
foreach ($this->languages() as $languageName) {
378-
if (! Arr::has($values, "{$fileName}.{$languageName}.{$key}")) {
378+
if (! Arr::has($values, "{$fileName}.{$languageName}.{$key}") && ! array_key_exists("{$fileName}.{$languageName}.{$key}", $values)) {
379379
$missing[] = "{$fileName}.{$key}:{$languageName}";
380380
}
381381
}

0 commit comments

Comments
 (0)