Skip to content

Commit

Permalink
removed strict and added default value (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
helios-ag authored May 13, 2023
1 parent 735b9b0 commit b359797
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions src/Command/ElFinderInstallerCommand.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

namespace FM\ElfinderBundle\Command;

use Symfony\Component\Console\Command\Command;
Expand Down
2 changes: 0 additions & 2 deletions src/Configuration/ElFinderConfigurationProviderInterface.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

namespace FM\ElfinderBundle\Configuration;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/Controller/ElFinderController.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

namespace FM\ElfinderBundle\Controller;

use Exception;
Expand Down
2 changes: 1 addition & 1 deletion src/Event/ElFinderPostExecutionEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ElFinderPostExecutionEvent extends ElFinderPreExecutionEvent
* @param string $instance
* @param string $homeFolder
*/
public function __construct(Request $request, HttpKernelInterface $httpKernel, $instance, $homeFolder, array $result)
public function __construct(Request $request, HttpKernelInterface $httpKernel, $instance, $homeFolder, array $result = null)
{
parent::__construct($request, $httpKernel, $instance, $homeFolder);

Expand Down

0 comments on commit b359797

Please sign in to comment.