Skip to content

Commit a517383

Browse files
authored
Phan: Fixing return docblocks (#40028)
1 parent 88473a5 commit a517383

File tree

26 files changed

+26
-26
lines changed

26 files changed

+26
-26
lines changed

administrator/components/com_contact/src/Controller/ContactsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function getModel($name = 'Contact', $prefix = 'Administrator', $config =
126126
/**
127127
* Method to get the number of published contacts for quickicons
128128
*
129-
* @return string The JSON-encoded amount of published contacts
129+
* @return void
130130
*
131131
* @since 4.3.0
132132
*/

administrator/components/com_installer/src/Model/InstallerModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ protected function _getList($query, $limitstart = 0, $limit = 0)
142142
*
143143
* @param array $items The array of objects
144144
*
145-
* @return array The array of translated objects
145+
* @return void
146146
*/
147147
protected function translate(&$items)
148148
{

administrator/components/com_installer/src/View/Updatesites/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class HtmlView extends InstallerViewDefault
6767
*
6868
* @param string $tpl Template
6969
*
70-
* @return mixed|void
70+
* @return void
7171
*
7272
* @since 3.4
7373
*

administrator/components/com_languages/src/Controller/LanguagesController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getModel($name = 'Language', $prefix = 'Administrator', $config
4444
/**
4545
* Method to get the number of published languages for quickicons
4646
*
47-
* @return string The JSON-encoded amount of published languages
47+
* @return void
4848
*
4949
* @since 4.3.0
5050
*/

administrator/components/com_media/src/Controller/ApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ApiController extends BaseController
4141
*
4242
* @param string $task The task to perform. If no matching task is found, the '__default' task is executed, if defined.
4343
*
44-
* @return mixed The value returned by the called method.
44+
* @return void
4545
*
4646
* @since 4.0.0
4747
* @throws \Exception

administrator/components/com_modules/src/Model/ModulesModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ protected function _getList($query, $limitstart = 0, $limit = 0)
223223
*
224224
* @param array &$items The array of objects
225225
*
226-
* @return array The array of translated objects
226+
* @return void
227227
*/
228228
protected function translate(&$items)
229229
{

administrator/components/com_newsfeeds/src/Controller/NewsfeedsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getModel($name = 'Newsfeed', $prefix = 'Administrator', $config
4444
/**
4545
* Method to get the number of published newsfeeds for quickicons
4646
*
47-
* @return string The JSON-encoded amount of published newsfeeds
47+
* @return void
4848
*
4949
* @since 4.3.0
5050
*/

administrator/components/com_newsfeeds/src/Model/NewsfeedModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ protected function getReorderConditions($table)
370370
* @param array $data The data to be injected into the form
371371
* @param string $group The plugin group to process
372372
*
373-
* @return array An array of conditions to add to ordering queries.
373+
* @return void
374374
*
375375
* @since 1.6
376376
*/

administrator/components/com_privacy/src/View/Export/XmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class XmlView extends AbstractView
3333
*
3434
* @param string $tpl The name of the template file to parse; automatically searches through the template paths.
3535
*
36-
* @return mixed A string if successful, otherwise an Error object.
36+
* @return void
3737
*
3838
* @since 3.9.0
3939
* @throws \Exception

administrator/components/com_redirect/src/View/Link/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class HtmlView extends BaseHtmlView
5555
*
5656
* @param string $tpl The name of the template file to parse; automatically searches through the template paths.
5757
*
58-
* @return mixed False if unsuccessful, otherwise void.
58+
* @return void
5959
*
6060
* @since 1.6
6161
*/

0 commit comments

Comments
 (0)