Skip to content

Commit

Permalink
DataInterface-compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
OleVik committed Jul 18, 2023
1 parent 096be71 commit 78c1712
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v4.0.1
## 18-07-2023

1. [](#bugfix)
* `DataInterface`-compliance

# v4.0.0
## 18-07-2023

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Static Generator
version: 4.0.0
version: 4.0.1
slug: static-generator
type: plugin
description: Static generation of Page(s) and Index.
Expand Down
2 changes: 2 additions & 0 deletions classes/Data/DataInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ interface DataInterface
/**
* Instantiate class
*
* @param string $url Custom Base URL.
* @param bool $content Whether to include content.
* @param int $maxLength Maximum character-length of content.
* @param string $orderBy Property to order by.
* @param string $orderDir Direction to order.
*/
public function __construct(
string $url = '',
bool $content = false,
int $maxLength = null,
string $orderBy = 'date',
Expand Down

0 comments on commit 78c1712

Please sign in to comment.