Skip to content

Commit

Permalink
Merge pull request #1141: Apply php8.1 in Rector preset
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Sep 10, 2024
1 parent d4a2c72 commit 44ce941
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/BootloadManager/BootloadManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
final class BootloadManager extends AbstractBootloadManager
{
private InvokerStrategyInterface $invokerStrategy;
private readonly InvokerStrategyInterface $invokerStrategy;

public function __construct(
ScopeInterface $scope,
Expand Down
2 changes: 1 addition & 1 deletion src/Bootloader/ConfigurationBootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class ConfigurationBootloader extends Bootloader
ConfigManager::class => [self::class, 'configManager'],
];

private ConfiguratorInterface $configurator;
private readonly ConfiguratorInterface $configurator;

/** @var FileLoaderInterface[] */
private array $loaders;
Expand Down
2 changes: 1 addition & 1 deletion src/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class Environment implements EnvironmentInterface

public function __construct(
array $values = [],
private bool $overwrite = false
private readonly bool $overwrite = false
) {
$this->values = $values + $_ENV + $_SERVER;
}
Expand Down

0 comments on commit 44ce941

Please sign in to comment.