Skip to content

Commit

Permalink
Fixed newResource calls. References #64. Closes #70, #72, #92
Browse files Browse the repository at this point in the history
  • Loading branch information
toonvandenbos committed May 13, 2024
1 parent 41bc462 commit 60839a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Pages/StaticResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,8 @@ abstract class StaticResource extends Resource

/**
* Create a new resource instance.
*
* @param \Whitecube\NovaPage\Pages\Template $resource
* @return void
*/
public function __construct(Template $resource)
public function __construct(Manager|Template $resource)
{
parent::__construct($resource);
}
Expand Down

0 comments on commit 60839a5

Please sign in to comment.