Skip to content

Commit

Permalink
Bump dependencies and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed Dec 4, 2019
1 parent a8c1f63 commit db79e40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<include name="**/*.js*"/>
<include name="**/*.css*"/>
</fileset>
<fileset dir="vendor/michelf/php-markdown/">
<fileset dir="vendor/michelf/php-markdown/Michelf/">
<include name="**/*.php"/>
<exclude name="**/Readme.php"/>
</fileset>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"php": "~7.1",
"ql/uri-template": "~1.0",
"vanilla/garden-cli": "~2.0",
"michelf/php-markdown": "~1.8",
"michelf/php-markdown": "~1.9",
"lukasoppermann/http-status": "~2.0",
"ext-json": "*",
"ext-curl": "*"
Expand Down
2 changes: 1 addition & 1 deletion src/PHPDraft/Model/HTTPRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function __construct(Transition &$parent)
public function parse(stdClass $object): self
{
$this->method = $object->attributes->method->content ?? $object->attributes->method;
$this->title = isset($object->meta->title) ? $object->meta->title : NULL;
$this->title = $object->meta->title->content ?? $object->meta->title ?? NULL;

if (!empty($object->content)) {
foreach ($object->content as $value) {
Expand Down

0 comments on commit db79e40

Please sign in to comment.