Skip to content

Commit 6ab2dec

Browse files
authored
Merge pull request #1350 from fapdash/fix-imports-external-api
[docs] Fix imports in External Services examples
2 parents 0e98be8 + 02f4a06 commit 6ab2dec

File tree

8 files changed

+32
-32
lines changed

8 files changed

+32
-32
lines changed

docs/apis/subsystems/external/functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ Please note that deprecation notices will be added to this pathway from Moodle 4
6060

6161
namespace local_groupmanager\external;
6262

63-
use external_function_parameters;
64-
use external_multiple_structure;
65-
use external_single_structure;
66-
use external_value;
63+
use core_external\external_function_parameters;
64+
use core_external\external_multiple_structure;
65+
use core_external\external_single_structure;
66+
use core_external\external_value;
6767

6868
class create_groups extends \core_external\external_api {
6969
public static function execute_parameters(): external_function_parameters {

docs/apis/subsystems/external/writing-a-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ This will be located in the file `local/groupmanager/classes/external/create_gro
145145
<?php
146146
namespace local_groupmanager\external;
147147

148-
use external_function_parameters;
149-
use external_multiple_structure;
150-
use external_single_structure;
151-
use external_value;
148+
use core_external\external_function_parameters;
149+
use core_external\external_multiple_structure;
150+
use core_external\external_single_structure;
151+
use core_external\external_value;
152152

153153
class create_groups extends \core_external\external_api {
154154

versioned_docs/version-4.4/apis/subsystems/external/functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ Please note that deprecation notices will be added to this pathway from Moodle 4
6060

6161
namespace local_groupmanager\external;
6262

63-
use external_function_parameters;
64-
use external_multiple_structure;
65-
use external_single_structure;
66-
use external_value;
63+
use core_external\external_function_parameters;
64+
use core_external\external_multiple_structure;
65+
use core_external\external_single_structure;
66+
use core_external\external_value;
6767

6868
class create_groups extends \core_external\external_api {
6969
public static function execute_parameters(): external_function_parameters {

versioned_docs/version-4.4/apis/subsystems/external/writing-a-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ This will be located in the file `local/groupmanager/classes/external/create_gro
145145
<?php
146146
namespace local_groupmanager\external;
147147

148-
use external_function_parameters;
149-
use external_multiple_structure;
150-
use external_single_structure;
151-
use external_value;
148+
use core_external\external_function_parameters;
149+
use core_external\external_multiple_structure;
150+
use core_external\external_single_structure;
151+
use core_external\external_value;
152152

153153
class create_groups extends \core_external\external_api {
154154

versioned_docs/version-4.5/apis/subsystems/external/functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ Please note that deprecation notices will be added to this pathway from Moodle 4
6060

6161
namespace local_groupmanager\external;
6262

63-
use external_function_parameters;
64-
use external_multiple_structure;
65-
use external_single_structure;
66-
use external_value;
63+
use core_external\external_function_parameters;
64+
use core_external\external_multiple_structure;
65+
use core_external\external_single_structure;
66+
use core_external\external_value;
6767

6868
class create_groups extends \core_external\external_api {
6969
public static function execute_parameters(): external_function_parameters {

versioned_docs/version-4.5/apis/subsystems/external/writing-a-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ This will be located in the file `local/groupmanager/classes/external/create_gro
145145
<?php
146146
namespace local_groupmanager\external;
147147

148-
use external_function_parameters;
149-
use external_multiple_structure;
150-
use external_single_structure;
151-
use external_value;
148+
use core_external\external_function_parameters;
149+
use core_external\external_multiple_structure;
150+
use core_external\external_single_structure;
151+
use core_external\external_value;
152152

153153
class create_groups extends \core_external\external_api {
154154

versioned_docs/version-5.0/apis/subsystems/external/functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ Please note that deprecation notices will be added to this pathway from Moodle 4
6060

6161
namespace local_groupmanager\external;
6262

63-
use external_function_parameters;
64-
use external_multiple_structure;
65-
use external_single_structure;
66-
use external_value;
63+
use core_external\external_function_parameters;
64+
use core_external\external_multiple_structure;
65+
use core_external\external_single_structure;
66+
use core_external\external_value;
6767

6868
class create_groups extends \core_external\external_api {
6969
public static function execute_parameters(): external_function_parameters {

versioned_docs/version-5.0/apis/subsystems/external/writing-a-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ This will be located in the file `local/groupmanager/classes/external/create_gro
145145
<?php
146146
namespace local_groupmanager\external;
147147

148-
use external_function_parameters;
149-
use external_multiple_structure;
150-
use external_single_structure;
151-
use external_value;
148+
use core_external\external_function_parameters;
149+
use core_external\external_multiple_structure;
150+
use core_external\external_single_structure;
151+
use core_external\external_value;
152152

153153
class create_groups extends \core_external\external_api {
154154

0 commit comments

Comments
 (0)