From f506dfec8a78b9915e6ba01c22ab554b6d48bfa7 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Wed, 25 Apr 2018 13:44:33 +0200 Subject: [PATCH] Update Predb model getAll function PHPDOC block --- Changelog | 1 + app/Models/Predb.php | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Changelog b/Changelog index 8fc77acdc..3f7610b17 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-04-25 DariusIII + * Fix: Update Predb model getAll function PHPDOC block * Fix: Fix adding new user roles * Fix: Remove duplicated SESSION_DRIVER from .env.example * Chg: Update smarty/smarty to version 3.1.32 diff --git a/app/Models/Predb.php b/app/Models/Predb.php index 9e91de491..fcbc59990 100644 --- a/app/Models/Predb.php +++ b/app/Models/Predb.php @@ -143,13 +143,11 @@ class Predb extends Model } /** - * Get all PRE's in the DB. + * @param string $search * - * - * @param string|array $search - * @return array + * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator|mixed */ - public static function getAll($search = ''): array + public static function getAll($search = '') { if ($search !== '') { $search = explode(' ', trim($search));