Fix PHPDoc comments project-wide

This commit is contained in:
Hypolite Petovan
2019-01-06 16:06:53 -05:00
parent 6077aa5847
commit 3282ce5389
113 changed files with 1703 additions and 795 deletions

View File

@@ -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()
{