Skip to content

Commit

Permalink
🤖 PHPCBF
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume authored and github-actions[bot] committed Dec 7, 2023
1 parent f07057c commit 02816ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/Module/WPLoader/FiltersGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class FiltersGroup
* the default one.
* @param callable|null $addWith The callable that should be used to add the filters, or `null` to use the
*/
public function __construct(array $filters = [],
public function __construct(
array $filters = [],
callable $removeWith = null,
callable $addWith = null
) {
Expand Down
4 changes: 2 additions & 2 deletions src/Project/PluginProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function test_it_deactivates_activates_correctly(EndToEndTester \$I): voi
}
EOT
,
,
[
'slug' => Strings::slug($this->getName())
]
Expand Down Expand Up @@ -221,7 +221,7 @@ public function test_plugin_active(): void
}
}
EOT
,
,
[
'pluginString' => $this->getActivationString()
]
Expand Down
4 changes: 2 additions & 2 deletions src/Project/ThemeProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function test_it_activates_correctly(EndToEndTester \$I): void
}
EOT
,
,
[
'basename' => Strings::slug($this->basename)
]
Expand Down Expand Up @@ -202,7 +202,7 @@ public function test_theme_active(): void
}
}
EOT
,
,
[
'stylesheet' => $this->getActivationString()
]
Expand Down

0 comments on commit 02816ba

Please sign in to comment.