Skip to content

Commit

Permalink
CS Fixes
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Dec 5, 2022
1 parent 40fb2f4 commit dc79345
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/FormElementManagerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ final class FormElementManagerFactory implements FactoryInterface
* @param ServiceManagerConfiguration|null $options
* @return AbstractPluginManager
*/
public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null): AbstractPluginManager
{
public function __invoke(
ContainerInterface $container,
$requestedName,
?array $options = null
): AbstractPluginManager {
/** @psalm-var ServiceManagerConfiguration $options */
$options = is_array($options) ? $options : [];
$options = is_array($options) ? $options : [];
$pluginManager = new FormElementManager($container, $options);

// If this is in a laminas-mvc application, the ServiceListener will inject
Expand Down

0 comments on commit dc79345

Please sign in to comment.