From 9df56858b0c848bcab710cff657074f95b5f54bb Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 26 Dec 2018 03:23:50 +0300 Subject: [PATCH] Entries: update order of params for getEntries() menthod --- flextype/Entries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/Entries.php b/flextype/Entries.php index c8430043..42d8180b 100755 --- a/flextype/Entries.php +++ b/flextype/Entries.php @@ -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 === '') {