Skip to content

Commit

Permalink
Fix Typo + CS
Browse files Browse the repository at this point in the history
  • Loading branch information
joomdonation committed May 6, 2017
1 parent d43efb1 commit aa7c7b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_categories/Model/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Category extends Admin
/**
* Override parent constructor.
*
* @param array $config An optional associative array of configuration settings.
* @param array $config An optional associative array of configuration settings.
* @param MvcFactoryInterface $factory The factory.
*
* @see \Joomla\Cms\Model\Model
Expand Down Expand Up @@ -363,7 +363,7 @@ protected function loadFormData()
/**
* Method to preprocess the form.
*
* @param \JForm $form A \JForm object.
* @param \JForm $form A JForm object.
* @param mixed $data The data expected for the form.
* @param string $group The name of the plugin group to import.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ protected function addToolbar()
'btn-success'
);

if (Comp::isEnabled('com_contenthistory') && $componentParams->get('save_history', 0) && $itemEditable)
if (ComponentHelper::isEnabled('com_contenthistory') && $componentParams->get('save_history', 0) && $itemEditable)
{
$typeAlias = $extension . '.category';
\JToolbarHelper::versions($typeAlias, $this->item->id);
Expand Down

0 comments on commit aa7c7b8

Please sign in to comment.