Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
- Fix variable validation
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Mar 17, 2018
1 parent 52d21cc commit db66d7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IPub/Flysystem/DI/FlysystemExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private function registerService(string $type, string $name, string $class, stri
}

/**
* @param array $parameters
* @param array|NULL $parameters
* @param array $configuration
* @param string $serviceName
*
Expand All @@ -159,7 +159,7 @@ private function registerService(string $type, string $name, string $class, stri
* @throws Exceptions\InvalidAdapterException
* @throws Utils\AssertionException
*/
private function validateParameters(array $parameters, array $configuration, string $serviceName) : Utils\ArrayHash
private function validateParameters(?array $parameters, array $configuration, string $serviceName) : Utils\ArrayHash
{
$collection = [];

Expand Down

0 comments on commit db66d7f

Please sign in to comment.