Skip to content

Commit

Permalink
Fix docblock type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed Jan 19, 2018
1 parent 8fd2683 commit daa78a8
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CRM/Activity/StateMachine/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __construct($controller, $action = CRM_Core_Action::NONE) {
*
* @param string $formName
*
* @return string
* @return array
* the name of the form that will handle the task
*/
public function taskName($controller, $formName = 'Search') {
Expand Down
2 changes: 1 addition & 1 deletion CRM/Campaign/StateMachine/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function __construct($controller, $action = CRM_Core_Action::NONE) {
*
* @param string $formName
*
* @return string
* @return array
* the name of the form that will handle the task
*/
public function taskName($controller, $formName = 'Search') {
Expand Down
2 changes: 1 addition & 1 deletion CRM/Case/StateMachine/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function __construct($controller, $action = CRM_Core_Action::NONE) {
*
* @param string $formName
*
* @return string
* @return array
* the name of the form that will handle the task
*/
public function taskName($controller, $formName = 'Search') {
Expand Down
2 changes: 1 addition & 1 deletion CRM/Contact/StateMachine/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function __construct($controller, $action = CRM_Core_Action::NONE) {
*
* @param string $formName
*
* @return string
* @return array
* the name of the form that will handle the task
*/
public function taskName($controller, $formName = 'Search') {
Expand Down
2 changes: 1 addition & 1 deletion CRM/Contribute/StateMachine/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function __construct($controller, $action = CRM_Core_Action::NONE) {
*
* @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') {
Expand Down
4 changes: 2 additions & 2 deletions CRM/Event/StateMachine/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -82,7 +82,7 @@ public function __construct($controller, $action = CRM_Core_Action::NONE) {
*
* @param string $formName
*
* @return string
* @return array
* the name of the form that will handle the task
*/
public function taskName($controller, $formName = 'Search') {
Expand Down
2 changes: 1 addition & 1 deletion CRM/Grant/StateMachine/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function __construct($controller, $action = CRM_Core_Action::NONE) {
*
* @param string $formName
*
* @return string
* @return array
* the name of the form that will handle the task
*/
public function taskName($controller, $formName = 'Search') {
Expand Down
2 changes: 1 addition & 1 deletion CRM/Member/StateMachine/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function __construct($controller, $action = CRM_Core_Action::NONE) {
*
* @param string $formName
*
* @return string
* @return array
* the name of the form that will handle the task
*/
public function taskName($controller, $formName = 'Search') {
Expand Down
2 changes: 1 addition & 1 deletion CRM/Pledge/StateMachine/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function __construct($controller, $action = CRM_Core_Action::NONE) {
*
* @param string $formName
*
* @return string
* @return array
* the name of the form that will handle the task
*/
public function taskName($controller, $formName = 'Search') {
Expand Down

0 comments on commit daa78a8

Please sign in to comment.