Skip to content

Commit

Permalink
Remove documentStyle method
Browse files Browse the repository at this point in the history
There is an unfixed issue which makes this method unusable: chapter-three/AppleNewsAPI#21
  • Loading branch information
aerni committed Jun 7, 2021
1 parent b429123 commit 813d32c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/Contracts/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use ChapterThree\AppleNewsAPI\Document\Layouts\Layout;
use ChapterThree\AppleNewsAPI\Document\Metadata;
use ChapterThree\AppleNewsAPI\Document\Styles\DocumentStyle;
use Statamic\Contracts\Entries\Entry;

interface Template
Expand Down Expand Up @@ -32,6 +31,4 @@ public function componentStyles(): array;
public function componentTextStyles(): array;

public function textStyles(): array;

// public function documentStyle(): DocumentStyle;
}
3 changes: 0 additions & 3 deletions src/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Aerni\AppleNews\Contracts\Template as Contract;
use ChapterThree\AppleNewsAPI\Document\Layouts\Layout;
use ChapterThree\AppleNewsAPI\Document\Metadata;
use ChapterThree\AppleNewsAPI\Document\Styles\DocumentStyle;
use Statamic\Contracts\Entries\Entry;

abstract class Template implements Contract
Expand Down Expand Up @@ -45,6 +44,4 @@ abstract public function componentStyles(): array;
abstract public function componentTextStyles(): array;

abstract public function textStyles(): array;

// abstract public function documentStyle(): DocumentStyle;
}

0 comments on commit 813d32c

Please sign in to comment.