Skip to content

Commit 40e8d25

Browse files
committed
formatting
1 parent 76e86bd commit 40e8d25

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Illuminate/Translation/FileLoader.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -165,32 +165,32 @@ public function addNamespace($namespace, $hint)
165165
}
166166

167167
/**
168-
* Add a new JSON path to the loader.
168+
* Get an array of all the registered namespaces.
169169
*
170-
* @param string $path
171-
* @return void
170+
* @return array
172171
*/
173-
public function addJsonPath($path)
172+
public function namespaces()
174173
{
175-
$this->jsonPaths[] = $path;
174+
return $this->hints;
176175
}
177176

178177
/**
179-
* Get an array of all the registered namespaces.
178+
* Add a new JSON path to the loader.
180179
*
181-
* @return array
180+
* @param string $path
181+
* @return void
182182
*/
183-
public function namespaces()
183+
public function addJsonPath($path)
184184
{
185-
return $this->hints;
185+
$this->jsonPaths[] = $path;
186186
}
187187

188188
/**
189189
* Get an array of all the registered paths to JSON translation files.
190190
*
191191
* @return array
192192
*/
193-
public function getJsonPaths()
193+
public function jsonPaths()
194194
{
195195
return $this->jsonPaths;
196196
}

0 commit comments

Comments
 (0)