Browse Source

getFilteredOrderedBys now requires an array.

Benjamin Michalski 10 years ago
parent
commit
00f3cd9f60
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Packagist/WebBundle/Controller/WebController.php

+ 2 - 2
src/Packagist/WebBundle/Controller/WebController.php

@@ -248,11 +248,11 @@ class WebController extends Controller
     }
 
     /**
-     * @param mixed $orderBys
+     * @param array $orderBys
      *
      * @return array
      */
-    protected function getFilteredOrderedBys($orderBys)
+    protected function getFilteredOrderedBys(array $orderBys)
     {
         if ($orderBys) {
             $allowedSorts = array(