PHPdoc cleanup
This commit is contained in:
@@ -151,7 +151,7 @@ class Action extends Base
|
||||
*
|
||||
* @author Antonio Rabelo
|
||||
* @param integer $src_project_id Source project id
|
||||
* @return integer $dst_project_id Destination project id
|
||||
* @param integer $dst_project_id Destination project id
|
||||
* @return boolean
|
||||
*/
|
||||
public function duplicate($src_project_id, $dst_project_id)
|
||||
|
||||
@@ -77,7 +77,7 @@ class Board extends Base
|
||||
*
|
||||
* @author Antonio Rabelo
|
||||
* @param integer $project_from Project Template
|
||||
* @return integer $project_to Project that receives the copy
|
||||
* @param integer $project_to Project that receives the copy
|
||||
* @return boolean
|
||||
*/
|
||||
public function duplicate($project_from, $project_to)
|
||||
|
||||
@@ -191,7 +191,7 @@ class Category extends Base
|
||||
*
|
||||
* @author Antonio Rabelo
|
||||
* @param integer $src_project_id Source project id
|
||||
* @return integer $dst_project_id Destination project id
|
||||
* @param integer $dst_project_id Destination project id
|
||||
* @return boolean
|
||||
*/
|
||||
public function duplicate($src_project_id, $dst_project_id)
|
||||
|
||||
@@ -141,6 +141,7 @@ class Color extends Base
|
||||
* Get available colors
|
||||
*
|
||||
* @access public
|
||||
* @param bool $prepend
|
||||
* @return array
|
||||
*/
|
||||
public function getList($prepend = false)
|
||||
|
||||
@@ -239,6 +239,7 @@ class Config extends Setting
|
||||
* Prepare data before save
|
||||
*
|
||||
* @access public
|
||||
* @param array $values
|
||||
* @return array
|
||||
*/
|
||||
public function prepare(array $values)
|
||||
|
||||
@@ -90,7 +90,7 @@ class Link extends Base
|
||||
*
|
||||
* @access public
|
||||
* @param integer $exclude_id Exclude this link
|
||||
* @param booelan $prepend Prepend default value
|
||||
* @param boolean $prepend Prepend default value
|
||||
* @return array
|
||||
*/
|
||||
public function getList($exclude_id = 0, $prepend = true)
|
||||
|
||||
@@ -76,6 +76,7 @@ abstract class Metadata extends Base
|
||||
* @access public
|
||||
* @param integer $entity_id
|
||||
* @param array $values
|
||||
* @return boolean
|
||||
*/
|
||||
public function save($entity_id, array $values)
|
||||
{
|
||||
|
||||
@@ -80,7 +80,7 @@ abstract class NotificationType extends Base
|
||||
*
|
||||
* @access public
|
||||
* @param string $type
|
||||
* @return NotificationInterface
|
||||
* @return \Kanboard\Notification\NotificationInterface
|
||||
*/
|
||||
public function getType($type)
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ class PasswordReset extends Base
|
||||
/**
|
||||
* Token duration (30 minutes)
|
||||
*
|
||||
* @var string
|
||||
* @var integer
|
||||
*/
|
||||
const DURATION = 1800;
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ class ProjectGroupRole extends Base
|
||||
* Copy group access from a project to another one
|
||||
*
|
||||
* @param integer $project_src_id Project Template
|
||||
* @return integer $project_dst_id Project that receives the copy
|
||||
* @param integer $project_dst_id Project that receives the copy
|
||||
* @return boolean
|
||||
*/
|
||||
public function duplicate($project_src_id, $project_dst_id)
|
||||
|
||||
@@ -75,6 +75,7 @@ abstract class Setting extends Base
|
||||
*
|
||||
* @access public
|
||||
* @param array $values
|
||||
* @return boolean
|
||||
*/
|
||||
public function save(array $values)
|
||||
{
|
||||
|
||||
@@ -155,6 +155,7 @@ class TaskDuplication extends Base
|
||||
*
|
||||
* @access public
|
||||
* @param array $values
|
||||
* @return array
|
||||
*/
|
||||
public function checkDestinationProjectValues(array &$values)
|
||||
{
|
||||
|
||||
@@ -18,7 +18,8 @@ class TaskPermission extends Base
|
||||
* Regular users can't remove tasks from other people
|
||||
*
|
||||
* @public
|
||||
* @return boolean
|
||||
* @param array $task
|
||||
* @return bool
|
||||
*/
|
||||
public function canRemoveTask(array $task)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user