From daa78a8445fa96cbdbd5217cd5e5dfbaac17bd7c Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Fri, 19 Jan 2018 10:21:14 +0700 Subject: [PATCH] Fix docblock type definitions --- CRM/Activity/StateMachine/Search.php | 2 +- CRM/Campaign/StateMachine/Search.php | 2 +- CRM/Case/StateMachine/Search.php | 2 +- CRM/Contact/StateMachine/Search.php | 2 +- CRM/Contribute/StateMachine/Search.php | 2 +- CRM/Event/StateMachine/Search.php | 4 ++-- CRM/Grant/StateMachine/Search.php | 2 +- CRM/Member/StateMachine/Search.php | 2 +- CRM/Pledge/StateMachine/Search.php | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CRM/Activity/StateMachine/Search.php b/CRM/Activity/StateMachine/Search.php index 6aa81146fe..992a79986b 100644 --- a/CRM/Activity/StateMachine/Search.php +++ b/CRM/Activity/StateMachine/Search.php @@ -76,7 +76,7 @@ class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine { * * @param string $formName * - * @return string + * @return array * the name of the form that will handle the task */ public function taskName($controller, $formName = 'Search') { diff --git a/CRM/Campaign/StateMachine/Search.php b/CRM/Campaign/StateMachine/Search.php index 4c04c01a7f..3ff6997b46 100644 --- a/CRM/Campaign/StateMachine/Search.php +++ b/CRM/Campaign/StateMachine/Search.php @@ -78,7 +78,7 @@ class CRM_Campaign_StateMachine_Search extends CRM_Core_StateMachine { * * @param string $formName * - * @return string + * @return array * the name of the form that will handle the task */ public function taskName($controller, $formName = 'Search') { diff --git a/CRM/Case/StateMachine/Search.php b/CRM/Case/StateMachine/Search.php index 0cfa120af7..54488648b9 100644 --- a/CRM/Case/StateMachine/Search.php +++ b/CRM/Case/StateMachine/Search.php @@ -80,7 +80,7 @@ class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine { * * @param string $formName * - * @return string + * @return array * the name of the form that will handle the task */ public function taskName($controller, $formName = 'Search') { diff --git a/CRM/Contact/StateMachine/Search.php b/CRM/Contact/StateMachine/Search.php index 61bed6a482..545b6e93d3 100644 --- a/CRM/Contact/StateMachine/Search.php +++ b/CRM/Contact/StateMachine/Search.php @@ -92,7 +92,7 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine { * * @param string $formName * - * @return string + * @return array * the name of the form that will handle the task */ public function taskName($controller, $formName = 'Search') { diff --git a/CRM/Contribute/StateMachine/Search.php b/CRM/Contribute/StateMachine/Search.php index 6d437472e3..487b82849b 100644 --- a/CRM/Contribute/StateMachine/Search.php +++ b/CRM/Contribute/StateMachine/Search.php @@ -78,7 +78,7 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine { * * @param string $formName * - * @return string + * @return array [ 'class' => task classname, 'result' => TRUE ] * the name of the form that will handle the task */ public function taskName($controller, $formName = 'Search') { diff --git a/CRM/Event/StateMachine/Search.php b/CRM/Event/StateMachine/Search.php index c4ca4e7d5b..6347afed11 100644 --- a/CRM/Event/StateMachine/Search.php +++ b/CRM/Event/StateMachine/Search.php @@ -45,7 +45,7 @@ class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine { * Class constructor. * * @param object $controller - * @param \const|int $action + * @param int $action */ public function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); @@ -82,7 +82,7 @@ class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine { * * @param string $formName * - * @return string + * @return array * the name of the form that will handle the task */ public function taskName($controller, $formName = 'Search') { diff --git a/CRM/Grant/StateMachine/Search.php b/CRM/Grant/StateMachine/Search.php index 2b387d63b0..549db4e654 100644 --- a/CRM/Grant/StateMachine/Search.php +++ b/CRM/Grant/StateMachine/Search.php @@ -82,7 +82,7 @@ class CRM_Grant_StateMachine_Search extends CRM_Core_StateMachine { * * @param string $formName * - * @return string + * @return array * the name of the form that will handle the task */ public function taskName($controller, $formName = 'Search') { diff --git a/CRM/Member/StateMachine/Search.php b/CRM/Member/StateMachine/Search.php index 49453bc275..a4521ea163 100644 --- a/CRM/Member/StateMachine/Search.php +++ b/CRM/Member/StateMachine/Search.php @@ -80,7 +80,7 @@ class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine { * * @param string $formName * - * @return string + * @return array * the name of the form that will handle the task */ public function taskName($controller, $formName = 'Search') { diff --git a/CRM/Pledge/StateMachine/Search.php b/CRM/Pledge/StateMachine/Search.php index a809e91fd2..653ee39d11 100644 --- a/CRM/Pledge/StateMachine/Search.php +++ b/CRM/Pledge/StateMachine/Search.php @@ -80,7 +80,7 @@ class CRM_Pledge_StateMachine_Search extends CRM_Core_StateMachine { * * @param string $formName * - * @return string + * @return array * the name of the form that will handle the task */ public function taskName($controller, $formName = 'Search') { -- 2.25.1