Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
zibios committed Feb 25, 2018
1 parent 4f1e831 commit 3f024be
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
12 changes: 6 additions & 6 deletions src/Model/Common/SubscriptionModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ class SubscriptionModel extends AbstractModel implements ResourceModelInterface
protected $userLimit;

/**
* @return mixed
* @return null|string
*/
public function getType()
{
return $this->type;
}

/**
* @param mixed $type
* @param null|string $type
*
* @return $this
*/
Expand All @@ -75,15 +75,15 @@ public function setType($type)
}

/**
* @return mixed
* @return bool|null
*/
public function getPaid()
{
return $this->paid;
}

/**
* @param mixed $paid
* @param bool|null $paid
*
* @return $this
*/
Expand All @@ -95,15 +95,15 @@ public function setPaid($paid)
}

/**
* @return mixed
* @return int|null
*/
public function getUserLimit()
{
return $this->userLimit;
}

/**
* @param mixed $userLimit
* @param int|null $userLimit
*
* @return $this
*/
Expand Down
24 changes: 12 additions & 12 deletions src/Model/CustomField/CustomFieldResourceModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ class CustomFieldResourceModel extends AbstractModel implements ResourceModelInt
protected $deleted;

/**
* @return mixed
* @return string|null
*/
public function getId()
{
return $this->id;
}

/**
* @param mixed $id
* @param string|null $id
*
* @return $this
*/
Expand All @@ -110,15 +110,15 @@ public function setId($id)
}

/**
* @return mixed
* @return string|null
*/
public function getAccountId()
{
return $this->accountId;
}

/**
* @param mixed $accountId
* @param string|null $accountId
*
* @return $this
*/
Expand All @@ -130,15 +130,15 @@ public function setAccountId($accountId)
}

/**
* @return mixed
* @return string|null
*/
public function getTitle()
{
return $this->title;
}

/**
* @param mixed $title
* @param string|null $title
*
* @return $this
*/
Expand All @@ -150,15 +150,15 @@ public function setTitle($title)
}

/**
* @return mixed
* @return null|string
*/
public function getType()
{
return $this->type;
}

/**
* @param mixed $type
* @param null|string $type
*
* @return $this
*/
Expand All @@ -170,15 +170,15 @@ public function setType($type)
}

/**
* @return mixed
* @return array|string[]|null
*/
public function getSharedIds()
{
return $this->sharedIds;
}

/**
* @param mixed $sharedIds
* @param array|string[]|null $sharedIds
*
* @return $this
*/
Expand All @@ -190,15 +190,15 @@ public function setSharedIds($sharedIds)
}

/**
* @return mixed
* @return bool|null
*/
public function getDeleted()
{
return $this->deleted;
}

/**
* @param mixed $deleted
* @param bool|null $deleted
*
* @return $this
*/
Expand Down
6 changes: 3 additions & 3 deletions tests/Fixtures/StubModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class StubModel extends AbstractModel
protected $id;

/**
* @var mixed
* @var string
*/
protected $name;

Expand Down Expand Up @@ -59,15 +59,15 @@ public function setId($id)
}

/**
* @return mixed
* @return string
*/
public function getName()
{
return $this->name;
}

/**
* @param mixed $name
* @param string $name
*
* @return $this
*/
Expand Down

0 comments on commit 3f024be

Please sign in to comment.