Skip to content

Commit

Permalink
#16 Type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderpotjer committed Jul 19, 2020
1 parent ac18248 commit fba5b1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions public_html/components/com_jed/models/extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
use Joomla\CMS\Object\CMSObject;

/**
* Extension model.
Expand All @@ -26,11 +25,11 @@ class JedModelExtension extends BaseDatabaseModel
*
* @param integer $pk The id of the primary key.
*
* @return CMSObject Object with item details.
* @return object|boolean|JException Extension data object on success, boolean false or JException instance on error
*
* @since 4.0.0
*/
public function getItem($pk = null): CMSObject
public function getItem($pk = null): object
{
$pk = $pk ?: $this->getState('extension.id');
$db = $this->getDbo();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class JedViewExtension extends HtmlView
{
/**
* The course item.
* The extension item.
*
* @var object
* @since 4.0.0
Expand Down

0 comments on commit fba5b1c

Please sign in to comment.