File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
src/Illuminate/Translation Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -165,32 +165,32 @@ public function addNamespace($namespace, $hint)
165
165
}
166
166
167
167
/**
168
- * Add a new JSON path to the loader .
168
+ * Get an array of all the registered namespaces .
169
169
*
170
- * @param string $path
171
- * @return void
170
+ * @return array
172
171
*/
173
- public function addJsonPath ( $ path )
172
+ public function namespaces ( )
174
173
{
175
- $ this ->jsonPaths [] = $ path ;
174
+ return $ this ->hints ;
176
175
}
177
176
178
177
/**
179
- * Get an array of all the registered namespaces .
178
+ * Add a new JSON path to the loader .
180
179
*
181
- * @return array
180
+ * @param string $path
181
+ * @return void
182
182
*/
183
- public function namespaces ( )
183
+ public function addJsonPath ( $ path )
184
184
{
185
- return $ this ->hints ;
185
+ $ this ->jsonPaths [] = $ path ;
186
186
}
187
187
188
188
/**
189
189
* Get an array of all the registered paths to JSON translation files.
190
190
*
191
191
* @return array
192
192
*/
193
- public function getJsonPaths ()
193
+ public function jsonPaths ()
194
194
{
195
195
return $ this ->jsonPaths ;
196
196
}
You can’t perform that action at this time.
0 commit comments