Skip to content

Commit

Permalink
change class type
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Dec 27, 2020
1 parent a6845db commit de208c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion class/Form/ItemForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
Form,
FormDateTime,
Helper,
Item,
ThemeTabForm,
Utility
};
Expand Down Expand Up @@ -130,7 +131,7 @@ public function hasTab($tab)
}

/**
* @param \XoopsObject $obj
* @param Item $obj
*
* @return $this
*/
Expand Down
8 changes: 4 additions & 4 deletions class/MimetypeHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class MimetypeHandler extends BaseObjectHandler
public function __construct(\XoopsDatabase $db = null, Helper $helper = null)
{
/** @var Helper $this->helper */
$this->helper = $helper ?? Helper::getInstance();
$this->helper = $helper ?? Helper::getInstance();

$this->publisherIsAdmin = $this->helper->isUserAdmin();
$this->db = $db;
Expand Down Expand Up @@ -226,7 +226,7 @@ private function selectQuery($criteria = null, $join = false)
}

/**
* @param \XoopsObject $obj
* @param Mimetype $obj
*
* @return bool|string
*/
Expand All @@ -252,7 +252,7 @@ protected function insertQuery($obj)
}

/**
* @param \XoopsObject $obj
* @param Mimetype $obj
*
* @return bool|string
*/
Expand All @@ -278,7 +278,7 @@ protected function updateQuery($obj)
}

/**
* @param \XoopsObject $obj
* @param Mimetype $obj
*
* @return bool|string
*/
Expand Down

0 comments on commit de208c2

Please sign in to comment.