Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Commit

Permalink
Bugfix: Endobox::create() should be static and advance to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
younishd committed Sep 23, 2017
1 parent 122e86f commit aa6ad59
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added
### Changed

## [3.0.1] - 2017-09-23
### Added
### Changed
- Bugfix: `Endobox::create` should be static

## [3.0.0] - 2017-09-23
### Added
- `Endobox` bootstrap class
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "younishd/endobox",
"description": "Awww this PHP template engine is so cute.",
"version": "3.0.0",
"version": "3.0.1",
"type": "library",
"keywords": ["template-engine", "php-template", "php", "parsedown", "markdown", "php7", "cute", "simple", "template", "closure", "box"],
"homepage": "https://github.com/younishd/endobox",
Expand Down
2 changes: 1 addition & 1 deletion src/endobox/Endobox.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ abstract class Endobox
/**
* Create and return a Factory that looks into the given path for template files.
*/
public function create(string $path)
public static function create(string $path)
{
return new Factory($path, new Container());
}
Expand Down

0 comments on commit aa6ad59

Please sign in to comment.