Skip to content

Commit

Permalink
Optional Array
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Aug 24, 2020
1 parent 3e951bf commit 41c99f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ResourceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function getMapOptions()
*
* @return ResourceManager
*/
public function includeJs($toRequire, array $options = [], int $priority = ResourceStore::PRIORITY_DEFAULT)
public function includeJs($toRequire, ?array $options = [], int $priority = ResourceStore::PRIORITY_DEFAULT)
{
try
{
Expand Down Expand Up @@ -449,7 +449,7 @@ public function getOption($option, $default = null)
*
* @return ResourceManager
*/
public function includeCss($toRequire, array $options = [], int $priority = ResourceStore::PRIORITY_DEFAULT)
public function includeCss($toRequire, ?array $options = [], int $priority = ResourceStore::PRIORITY_DEFAULT)
{
try
{
Expand Down

0 comments on commit 41c99f6

Please sign in to comment.