Fix PHPDoc comments project-wide
This commit is contained in:
@@ -61,6 +61,7 @@ class Post extends BaseObject
|
||||
* Constructor
|
||||
*
|
||||
* @param array $data data array
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function __construct(array $data)
|
||||
{
|
||||
@@ -116,6 +117,8 @@ class Post extends BaseObject
|
||||
*
|
||||
* @return mixed The data requested on success
|
||||
* false on failure
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
*/
|
||||
public function getTemplateData(array $conv_responses, $thread_level = 1)
|
||||
{
|
||||
@@ -501,6 +504,7 @@ class Post extends BaseObject
|
||||
* @param Post $item The child item to add
|
||||
*
|
||||
* @return mixed
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function addChild(Post $item)
|
||||
{
|
||||
@@ -590,6 +594,7 @@ class Post extends BaseObject
|
||||
* @param Post $item The child to be removed
|
||||
*
|
||||
* @return boolean Success or failure
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function removeChild(Post $item)
|
||||
{
|
||||
@@ -679,6 +684,7 @@ class Post extends BaseObject
|
||||
*
|
||||
* @param string $name template name
|
||||
* @return bool
|
||||
* @throws \Exception
|
||||
*/
|
||||
private function setTemplate($name)
|
||||
{
|
||||
@@ -770,6 +776,7 @@ class Post extends BaseObject
|
||||
*
|
||||
* @return mixed The comment box string (empty if no comment box)
|
||||
* false on failure
|
||||
* @throws \Exception
|
||||
*/
|
||||
private function getCommentBox($indent)
|
||||
{
|
||||
@@ -849,6 +856,7 @@ class Post extends BaseObject
|
||||
* Check if we are a wall to wall item and set the relevant properties
|
||||
*
|
||||
* @return void
|
||||
* @throws \Exception
|
||||
*/
|
||||
protected function checkWallToWall()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user