Skip to content

Commit

Permalink
Merge pull request #170 from ntavelis/master
Browse files Browse the repository at this point in the history
Use full namespaces in doc blocks, for the json mapper.
  • Loading branch information
lesstif authored Jun 26, 2018
2 parents 2912b04 + 105047a commit c816447
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion src/Issue/Attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Attachment implements \JsonSerializable
/* @var string */
public $filename;

/* @var Reporter */
/* @var \JiraRestApi\Issue\Reporter */
public $author;

/* @var \DateTime */
Expand Down
2 changes: 1 addition & 1 deletion src/Issue/ChangeLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ChangeLog implements \JsonSerializable
/** @var int */
public $total;

/** @var History[]|null */
/** @var \JiraRestApi\Issue\History[]|null */
public $histories;

public function jsonSerialize()
Expand Down
6 changes: 3 additions & 3 deletions src/Issue/Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ class Comment implements \JsonSerializable
/** @var string */
public $id;

/** @var Reporter */
/** @var \JiraRestApi\Issue\Reporter */
public $author;

/** @var string */
public $body;

/** @var Reporter */
/** @var \JiraRestApi\Issue\Reporter */
public $updateAuthor;

/** @var \DateTime */
Expand All @@ -25,7 +25,7 @@ class Comment implements \JsonSerializable
/** @var \DateTime */
public $updated;

/** @var Visibility */
/** @var \JiraRestApi\Issue\Visibility */
public $visibility;

public function setBody($body)
Expand Down
2 changes: 1 addition & 1 deletion src/Issue/Comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Comments implements \JsonSerializable
/** @var int */
public $total;

/** @var Comment[] */
/** @var \JiraRestApi\Issue\Comment[] */
public $comments;

public function jsonSerialize()
Expand Down
2 changes: 1 addition & 1 deletion src/Issue/History.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class History implements \JsonSerializable
/** @var int */
public $id;

/** @var Reporter */
/** @var \JiraRestApi\Issue\Reporter */
public $author;

/** @var string */
Expand Down
4 changes: 2 additions & 2 deletions src/Issue/Issue.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Issue implements \JsonSerializable
/** @var string */
public $key;

/** @var IssueField */
/** @var \JiraRestApi\Issue\IssueField */
public $fields;

/** @var array|null */
Expand All @@ -41,7 +41,7 @@ class Issue implements \JsonSerializable
/** @var array|null */
public $editmeta;

/** @var ChangeLog|null */
/** @var \JiraRestApi\Issue\ChangeLog|null */
public $changelog;

public function jsonSerialize()
Expand Down
18 changes: 9 additions & 9 deletions src/Issue/IssueField.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ class IssueField implements \JsonSerializable
/** @var array */
public $progress;

/** @var TimeTracking */
/** @var \JiraRestApi\Issue\TimeTracking */
public $timeTracking;

/** @var IssueType */
/** @var \JiraRestApi\Issue\IssueType */
public $issuetype;

/** @var Reporter|null */
Expand All @@ -32,10 +32,10 @@ class IssueField implements \JsonSerializable
/** @var string|null */
public $description;

/** @var Priority|null */
/** @var \JiraRestApi\Issue\Priority|null */
public $priority;

/** @var IssueStatus */
/** @var \JiraRestApi\Issue\IssueStatus */
public $status;

/** @var array */
Expand All @@ -50,7 +50,7 @@ class IssueField implements \JsonSerializable
/** @var \JiraRestApi\Issue\Component[] */
public $components;

/** @var Comments */
/** @var \JiraRestApi\Issue\Comments */
public $comment;

/** @var object */
Expand All @@ -62,7 +62,7 @@ class IssueField implements \JsonSerializable
/** @var array */
public $fixVersions;

/** @var Reporter|null */
/** @var \JiraRestApi\Issue\Reporter|null */
public $creator;

/** @var object|null */
Expand All @@ -71,7 +71,7 @@ class IssueField implements \JsonSerializable
/** @var object|null */
public $worklog;

/** @var Reporter|null */
/** @var \JiraRestApi\Issue\Reporter|null */
public $assignee;

/** @var \JiraRestApi\Issue\Version[] */
Expand All @@ -98,7 +98,7 @@ class IssueField implements \JsonSerializable
/** @var array */
public $issuelinks;

/** @var Issue[] */
/** @var \JiraRestApi\Issue\Issue[] */
public $subtasks;

/** @var int */
Expand All @@ -122,7 +122,7 @@ class IssueField implements \JsonSerializable
/** @var array|null */
public $customFields;

/** @var SecurityScheme|null */
/** @var \JiraRestApi\Issue\SecurityScheme|null */
public $security;

public function __construct($updateIssue = false)
Expand Down
2 changes: 1 addition & 1 deletion src/Issue/IssueSearchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class IssueSearchResult
public $total;

/**
* @var Issue[]
* @var \JiraRestApi\Issue\Issue[]
*/
public $issues;

Expand Down
2 changes: 1 addition & 1 deletion src/Issue/IssueStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class IssueStatus implements \JsonSerializable
/* @var string */
public $name;

/* @var Statuscategory */
/* @var \JiraRestApi\Issue\Statuscategory */
public $statuscategory;

public function jsonSerialize()
Expand Down
2 changes: 1 addition & 1 deletion src/Issue/IssueType.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class IssueType implements \JsonSerializable
/** @var bool */
public $subtask;

/** @var IssueStatus[] */
/** @var \JiraRestApi\Issue\IssueStatus[] */
public $statuses;

public function jsonSerialize()
Expand Down
2 changes: 1 addition & 1 deletion src/Issue/RemoteIssueLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class RemoteIssueLink implements \JsonSerializable
/** @var string|null */
public $relationship;

/** @var RemoteIssueLinkObject|null */
/** @var \JiraRestApi\Issue\RemoteIssueLinkObject|null */
public $object;

public function jsonSerialize()
Expand Down
4 changes: 2 additions & 2 deletions src/Issue/Transition.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ class Transition implements \JsonSerializable
/** @var string */
public $name;

/** @var TransitionTo */
/** @var \JiraRestApi\Issue\TransitionTo */
public $to;

/** @var array */
public $fields;

/** @var IssueField */
/** @var \JiraRestApi\Issue\IssueField */
public $issueFields;

/** @var array */
Expand Down

0 comments on commit c816447

Please sign in to comment.