Skip to content

Commit

Permalink
Merge branch '5.1-dev' into 5.0-dev-com_tpl_menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Razzo1987 committed Feb 27, 2024
2 parents 333aed9 + 91a6c4c commit 263dd70
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\MVC\Model\AdminModel;
use Joomla\CMS\Object\CMSObject;
use Joomla\CMS\Table\Table;
use Joomla\Component\Guidedtours\Administrator\Helper\GuidedtoursHelper;

Expand Down Expand Up @@ -232,7 +231,7 @@ protected function loadFormData()
*
* @param integer $pk The id of the primary key.
*
* @return CMSObject|boolean Object on success, false on failure.
* @return \stdClass|boolean Object on success, false on failure.
*
* @since 4.3.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ protected function loadFormData()
*
* @param integer|string $pk The id or uid of the tour.
*
* @return CMSObject|boolean Object on success, false on failure.
* @return \stdClass|boolean Object on success, false on failure.
*
* @since 4.3.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected function loadFormData()
*
* @param integer $pk The id of the primary key.
*
* @return CMSObject|boolean Object on success, false on failure.
* @return \stdClass|boolean Object on success, false on failure.
*
* @since 4.0.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function getForm($data = [], $loadData = true)
*
* @param integer $pk The id of the primary key.
*
* @return CMSObject|boolean Object on success, false on failure.
* @return \stdClass|boolean Object on success, false on failure.
*
* @since 4.0.0
*/
Expand Down Expand Up @@ -195,7 +195,7 @@ public function getItem($pk = null)
*
* @param integer $pk The id of the primary key.
*
* @return CMSObject|boolean Object on success, false on failure.
* @return \stdClass|boolean Object on success, false on failure.
*
* @since 4.0.0
*/
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/MVC/Model/AdminModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ protected function generateNewTitle($categoryId, $alias, $title)
*
* @param integer $pk The id of the primary key.
*
* @return CMSObject|boolean Object on success, false on failure.
* @return \stdClass|boolean Object on success, false on failure.
*
* @since 1.6
*/
Expand Down
3 changes: 1 addition & 2 deletions libraries/src/Object/CMSObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* Use \stdClass or \Joomla\Registry\Registry instead.
* Example: new \Joomla\Registry\Registry();
*/
#[\AllowDynamicProperties]
class CMSObject
class CMSObject extends \stdClass
{
use LegacyErrorHandlingTrait;
use LegacyPropertyManagementTrait;
Expand Down
3 changes: 1 addition & 2 deletions libraries/src/Workflow/WorkflowPluginTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
namespace Joomla\CMS\Workflow;

use Joomla\CMS\Form\Form;
use Joomla\CMS\Object\CMSObject;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
Expand Down Expand Up @@ -62,7 +61,7 @@ protected function enhanceWorkflowTransitionForm(Form $form, $data)
*
* @param int|null $workflowId ID of the workflow
*
* @return CMSObject|boolean Object on success, false on failure.
* @return \stdClass|boolean Object on success, false on failure.
*
* @since 4.0.0
*/
Expand Down

0 comments on commit 263dd70

Please sign in to comment.