1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 23:24:04 +02:00

Entries: update order of params for getEntries() menthod

This commit is contained in:
Awilum
2018-12-26 03:23:50 +03:00
parent dc30efee07
commit 9df56858b0

View File

@@ -213,7 +213,7 @@ class Entries
* @param int $length Length
* @return array
*/
public static function getEntries(string $url = '', bool $raw = false, string $order_by = 'date', string $order_type = 'DESC', int $offset = null, int $length = null, bool $multilevel = true) : array
public static function getEntries(string $url = '', string $order_by = 'date', string $order_type = 'DESC', int $offset = null, int $length = null, bool $multilevel = false, bool $raw = false) : array
{
// if $url is empty then set path for defined main entry
if ($url === '') {