Skip to content

Commit 8331319

Browse files
committed
Model: Fix styling
1 parent 3fa9dbb commit 8331319

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/PHPDraft/Model/HTTPRequest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class HTTPRequest implements Comparable
5858
public $body = NULL;
5959

6060
/**
61-
* Identifier for the request
61+
* Identifier for the request.
6262
*
6363
* @var string
6464
*/
@@ -90,9 +90,9 @@ public function __construct(&$parent)
9090
*/
9191
public function parse($object)
9292
{
93-
$this->id = md5(microtime());
93+
$this->id = md5(microtime());
9494
$this->method = $object->attributes->method;
95-
$this->title = isset($object->meta->title) ? $object->meta->title : NULL;
95+
$this->title = isset($object->meta->title) ? $object->meta->title : NULL;
9696

9797
if (($this->method === 'POST' || $this->method === 'PUT') && !empty($object->content)) {
9898
foreach ($object->content as $value) {

src/PHPDraft/Model/HTTPResponse.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class HTTPResponse implements Comparable
2929
public $description;
3030

3131
/**
32-
* Identifier for the request
32+
* Identifier for the request.
3333
*
3434
* @var string
3535
*/

src/PHPDraft/Model/Transition.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ public function parse($object)
151151
* @param string $base_url the URL to which the URL variables apply
152152
* @param bool $clean Get the URL without HTML
153153
*
154-
* @return string a HTML representation of the transition URL
155154
* @throws \QL\UriTemplate\Exception
155+
*
156+
* @return string a HTML representation of the transition URL
156157
*/
157158
public function build_url($base_url = '', $clean = FALSE)
158159
{

0 commit comments

Comments
 (0)