File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
framework/core/src/Foundation Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
namespace Flarum \Foundation ;
11
11
12
- use Flarum \Foundation \ExtensionIdTrait ;
13
12
use Illuminate \Support \Arr ;
14
13
use Illuminate \Validation \Factory ;
15
14
use Illuminate \Validation \ValidationException ;
@@ -92,7 +91,7 @@ protected function getAttributeNames()
92
91
$ extId = $ this ->getClassExtensionId ();
93
92
$ attributeNames = [];
94
93
95
- foreach (array_keys ($ this ->rules ) as $ attribute ) {
94
+ foreach (array_keys ($ this ->rules ) as $ attribute ) {
96
95
$ key = $ extId ? "$ extId.validation.attributes. $ attribute " : "validation.attributes. $ attribute " ;
97
96
$ attributeNames [$ attribute ] = $ this ->translator ->trans ($ key );
98
97
}
Original file line number Diff line number Diff line change 7
7
* LICENSE file that was distributed with this source code.
8
8
*/
9
9
10
- namespace Flarum \Foundation ;
10
+ namespace Flarum \Foundation ;
11
11
12
- use Flarum \Extension \ExtensionManager ;
13
12
use Flarum \Extension \Extension ;
13
+ use Flarum \Extension \ExtensionManager ;
14
14
15
15
trait ExtensionIdTrait
16
16
{
You can’t perform that action at this time.
0 commit comments