Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Commit

Permalink
Implements interface for Converter and Generator.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Feb 15, 2016
1 parent cff6bae commit b723dbe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Converter/Converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Class Converter.
*/
class Converter
class Converter implements ConverterInterface
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Generator/Alias.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* Class Alias.
*/
class Alias
class Alias implements GeneratorInterface
{
/**
* @var array
Expand Down
2 changes: 1 addition & 1 deletion src/Generator/GeneratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ interface GeneratorInterface
*
* @return array
*/
public function generate(PageCollection $pageCollection);
public static function generate(PageCollection $pageCollection);
}
2 changes: 1 addition & 1 deletion src/Generator/Section.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* Class Section.
*/
class Section
class Section implements GeneratorInterface
{
/**
* @var array
Expand Down

0 comments on commit b723dbe

Please sign in to comment.