Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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