Skip to content

Commit

Permalink
Merge branch 'master' into publications-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 23, 2023
2 parents cf3c18f + 9797b89 commit 94c4782
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This serves two purposes:
- Removed the Tailwind safelist from the hyde/hyde package (as it is not required there) in https://github.com/hydephp/develop/pull/1362

### Fixed
- for any bug fixes.
- Fixed two improper method type annotations in the `FrontMatter` class in https://github.com/hydephp/develop/pull/1369

### Security
- in case of vulnerabilities.
4 changes: 2 additions & 2 deletions packages/framework/src/Markdown/Models/FrontMatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ public function __toString(): string
return (new ConvertsArrayToFrontMatter())->execute($this->data);
}

/** @return mixed|static */
/** @return mixed|array */
public function __get(string $key): mixed
{
return $this->get($key);
}

/** @return mixed|static */
/** @return mixed|array */
public function get(string $key = null, mixed $default = null): mixed
{
if ($key) {
Expand Down

0 comments on commit 94c4782

Please sign in to comment.