Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jigarius committed Sep 23, 2024
1 parent c706a31 commit b25e597
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Command/ExecCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ExecCommand extends BaseCommand {
*/
protected array $argv;

public function __construct(string $name = NULL) {
public function __construct(string $name) {
parent::__construct($name);
$this->argv = $GLOBALS['argv'];
}
Expand Down
8 changes: 4 additions & 4 deletions src/Service/SiteDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SiteDetector {

public function __construct(
DrupalFinder $drupalFinder,
SiteAliasManagerInterface $siteAliasManager
SiteAliasManagerInterface $siteAliasManager,
) {
$this->setDrupalFinder($drupalFinder);
$this->setSiteAliasManager($siteAliasManager);
Expand All @@ -37,7 +37,7 @@ public function __construct(
* Site directory names.
*/
public function getSiteDirNames(
string $group = NULL,
?string $group = NULL,
?string $filter = NULL,
): array {
if (!$sitesFile = $this->getSitesFile($group)) {
Expand Down Expand Up @@ -66,7 +66,7 @@ public function getSiteDirNames(
* Keys from the $sites array.
*/
public function getSiteKeys(
string $group = NULL,
?string $group = NULL,
?string $filter = NULL,
bool $unique = FALSE,
): array {
Expand Down Expand Up @@ -190,7 +190,7 @@ private function getSitesFile($group = NULL): ?SitesFile {
private function filter(
array $data,
string $expression,
string $default_filter_field = 'value'
string $default_filter_field = 'value',
): array {
if (empty($data)) {
return $data;
Expand Down

0 comments on commit b25e597

Please sign in to comment.