File tree Expand file tree Collapse file tree 6 files changed +6
-2
lines changed
Expand file tree Collapse file tree 6 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 66use Rector \TypeDeclaration \Rector \StmtsAwareInterface \DeclareStrictTypesRector ;
77use RectorLaravel \Rector \ArrayDimFetch \EnvVariableToEnvHelperRector ;
88use RectorLaravel \Rector \Class_ \AnonymousMigrationsRector ;
9+ use RectorLaravel \Rector \FuncCall \AppToResolveRector ;
910use RectorLaravel \Rector \MethodCall \ResponseHelperCallToJsonResponseRector ;
1011use RectorLaravel \Rector \MethodCall \UseComponentPropertyWithinCommandsRector ;
1112use RectorLaravel \Set \LaravelSetList ;
2829 EnvVariableToEnvHelperRector::class => [
2930 __DIR__ .'/src/Utility/Utilities/PhpInfo.php ' ,
3031 ],
32+ AppToResolveRector::class,
3133 ])
3234 ->withSetProviders (LaravelSetProvider::class)
3335 ->withComposerBased (laravel: true )
Original file line number Diff line number Diff line change 77
88namespace craft \fieldlayoutelements ;
99
10+ use Craft ;
1011use craft \base \ElementInterface ;
1112use craft \helpers \Cp ;
1213use CraftCms \Cms \Cms ;
Original file line number Diff line number Diff line change 88namespace craft \fieldlayoutelements \addresses ;
99
1010use CommerceGuys \Addressing \Country \Country ;
11+ use Craft ;
1112use craft \base \ElementInterface ;
1213use craft \elements \Address ;
1314use craft \fieldlayoutelements \BaseNativeField ;
Original file line number Diff line number Diff line change 77
88namespace craft \fieldlayoutelements \addresses ;
99
10+ use Craft ;
1011use craft \base \ElementInterface ;
1112use craft \elements \Address ;
1213use craft \fieldlayoutelements \BaseNativeField ;
Original file line number Diff line number Diff line change 77
88namespace craft \fieldlayoutelements \users ;
99
10+ use Craft ;
1011use craft \base \ElementInterface ;
1112use craft \elements \User ;
1213use craft \fieldlayoutelements \BaseNativeField ;
Original file line number Diff line number Diff line change @@ -237,7 +237,6 @@ public function handleDeletedUserGroup(ConfigEvent $event): void
237237 * @param int $groupId The user group's ID
238238 *
239239 * @return bool Whether the user group was deleted successfully
240- * @throws WrongEditionException if this is called from Craft Solo edition
241240 */
242241 public function deleteGroupById (int $ groupId ): bool
243242 {
@@ -250,7 +249,6 @@ public function deleteGroupById(int $groupId): bool
250249 * @param UserGroup $group The user group
251250 *
252251 * @return bool Whether the user group was deleted successfully
253- * @throws WrongEditionException if this is called from Craft Solo edition
254252 * @since 3.0.12
255253 */
256254 public function deleteGroup (UserGroup $ group ): bool
You can’t perform that action at this time.
0 commit comments