Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 11, 2023
1 parent 198229b commit 3aa604e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions framework/core/src/Extend/Conditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
*
* This is useful for applying extenders only if certain conditions are met,
* such as the presence of an enabled extension or a specific configuration setting.
*
* @package Flarum\Extend
*/
class Conditional implements ExtenderInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function conditional_injects_dependencies_to_condition_callable()
$this->extend(
(new Extend\Conditional())
->when(function (?ExtensionManager $extensions) {
if (!$extensions) {
if (! $extensions) {
throw new Exception('ExtensionManager not injected');
}
}, [
Expand Down

0 comments on commit 3aa604e

Please sign in to comment.