style: fix indentation, alignment, and docblock annotations
- Correct getChoices() docblock to reflect translated label => enum backing value order instead of value => label - Re-indent Smart Links menu config to match actual array nesting - Align assignment operators in RefreshStatsCommand - Add missing newline at end of RefreshStatsCommand.php
This commit is contained in:
1 parent
07773acb8d
commit
b138056e43
90 files changed
+622
-272
No files matched your search
@@ -7,6 +7,7 @@ namespace MauticPlugin\MT3SMarketingProgramBundle\Migrations;
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
use Mautic\IntegrationsBundle\Migration\AbstractMigration;
|
||||
use MauticPlugin\MT3SMarketingProgramBundle\Entity\Audience;
|
||||
|
||||
/**
|
||||
* Since 0.14.0 audiences are a global directory (Planning > Audiences, called Targets before 0.15.0),
|
||||
* like stakeholders:
|
||||
@@ -46,7 +47,7 @@ class Version_0_14_0 extends AbstractMigration
|
||||
}
|
||||
|
||||
[$directory, $links] = $names;
|
||||
$oldNaming = 'initiative_audiences' === $directory;
|
||||
$oldNaming = 'initiative_audiences' === $directory;
|
||||
|
||||
$table = $schema->getTable($directory);
|
||||
$shared = fn (string $column): bool => $table->hasColumn($this->concatPrefix($column));
|
||||
@@ -201,4 +202,4 @@ class Version_0_14_0 extends AbstractMigration
|
||||
// mapping, foreign keys included — nothing to repair first.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user