Skip to content
Snippets Groups Projects
Commit 928d7bce authored by Demian Katz's avatar Demian Katz
Browse files

Style: use standard case for native functions.

parent aeb70dc9
Branches
Tags
No related merge requests found
......@@ -171,7 +171,7 @@ class BrowseController extends AbstractBase
'Author', 'Topic', 'Genre', 'Region', 'Era'
];
foreach ($remainingOptions as $current) {
$option = strToLower($current);
$option = strtolower($current);
if (!isset($this->config->Browse->$option)
|| $this->config->Browse->$option == true
) {
......@@ -660,7 +660,7 @@ class BrowseController extends AbstractBase
if ($action == null) {
$action = $this->getCurrentAction();
}
switch (strToLower($action)) {
switch (strtolower($action)) {
case 'alphabetical':
return $this->getCategory();
case 'dewey':
......
......@@ -50,8 +50,8 @@ class Browse extends AbstractHelper
*/
public function getSolrField($action, $backup = null)
{
$action = strToLower($action);
$backup = strToLower($backup);
$action = strtolower($action);
$backup = strtolower($backup);
switch ($action) {
case 'dewey':
return 'dewey-hundreds';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment