Skip to content

Commit

Permalink
Require getResources to specify a type
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Apr 11, 2019
1 parent 46c77a9 commit a86d53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResourceStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ResourceStore
// [type][priority][uri] = options
protected $_store = [];

public function getResources($type = null, int $priority = null)
public function getResources($type, int $priority = null)
{
if(isset($this->_store[$type][$priority]))
{
Expand Down

0 comments on commit a86d53e

Please sign in to comment.