From 4fd661e999762d28cee47c7cbdff176b51474bf6 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 30 Jan 2023 18:36:09 -0800 Subject: [PATCH] (NFC) CRM/Upgrade/Snapshot.php - Work-around for bug in linter The linter for `@return` has a bug; it expects to see a `return` and doesn't recognize the `yield` notation (which is radically new, having been added in PHP 5.5 circa 2013). --- CRM/Upgrade/Snapshot.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/CRM/Upgrade/Snapshot.php b/CRM/Upgrade/Snapshot.php index 0f73ee3c5e..cb0eb7afd8 100644 --- a/CRM/Upgrade/Snapshot.php +++ b/CRM/Upgrade/Snapshot.php @@ -133,8 +133,6 @@ class CRM_Upgrade_Snapshot { * Ex: '5.50' * @param string $name * @param \CRM_Utils_SQL_Select $select - * - * @return iterable * @throws \CRM_Core_Exception */ public static function createTasks(string $owner, string $version, string $name, CRM_Utils_SQL_Select $select): iterable { -- 2.25.1