Skip to content

Commit

Permalink
change method name
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 7, 2016
1 parent d0a0966 commit fe7bbf7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions src/Illuminate/Translation/ArrayLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,6 @@ public function addNamespace($namespace, $hint)
//
}

/**
* Get array of all hints.
*
* @return array
*/
public function getHints()
{
return [];
}

/**
* Add messages to the loader.
*
Expand All @@ -69,4 +59,14 @@ public function addMessages($locale, $group, array $messages, $namespace = null)

return $this;
}

/**
* Get an array of all the registered namespaces.
*
* @return array
*/
public function namespaces()
{
return [];
}
}
4 changes: 2 additions & 2 deletions src/Illuminate/Translation/FileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ public function addNamespace($namespace, $hint)
}

/**
* Get array of all hints.
* Get an array of all the registered namespaces.
*
* @return array
*/
public function getHints()
public function namespaces()
{
return $this->hints;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Translation/LoaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public function load($locale, $group, $namespace = null);
public function addNamespace($namespace, $hint);

/**
* Get array of all hints.
* Get an array of all the registered namespaces.
*
* @return array
*/
public function getHints();
public function namespaces();
}

0 comments on commit fe7bbf7

Please sign in to comment.