Skip to content

Commit

Permalink
Model: Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed May 1, 2018
1 parent 3fa9dbb commit 8331319
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/PHPDraft/Model/HTTPRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class HTTPRequest implements Comparable
public $body = NULL;

/**
* Identifier for the request
* Identifier for the request.
*
* @var string
*/
Expand Down Expand Up @@ -90,9 +90,9 @@ public function __construct(&$parent)
*/
public function parse($object)
{
$this->id = md5(microtime());
$this->id = md5(microtime());
$this->method = $object->attributes->method;
$this->title = isset($object->meta->title) ? $object->meta->title : NULL;
$this->title = isset($object->meta->title) ? $object->meta->title : NULL;

if (($this->method === 'POST' || $this->method === 'PUT') && !empty($object->content)) {
foreach ($object->content as $value) {
Expand Down
2 changes: 1 addition & 1 deletion src/PHPDraft/Model/HTTPResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class HTTPResponse implements Comparable
public $description;

/**
* Identifier for the request
* Identifier for the request.
*
* @var string
*/
Expand Down
3 changes: 2 additions & 1 deletion src/PHPDraft/Model/Transition.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,9 @@ public function parse($object)
* @param string $base_url the URL to which the URL variables apply
* @param bool $clean Get the URL without HTML
*
* @return string a HTML representation of the transition URL
* @throws \QL\UriTemplate\Exception
*
* @return string a HTML representation of the transition URL
*/
public function build_url($base_url = '', $clean = FALSE)
{
Expand Down

0 comments on commit 8331319

Please sign in to comment.