Skip to content

Commit 0cc6dff

Browse files
OlegApanovichorkunaybek
authored andcommitted
VC-2522 code tyle
1 parent f87d73a commit 0cc6dff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

visualcomposer/Helpers/Hub/Update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function createPostUpdateObjects(array $posts)
5959
$post = get_post($id);
6060
if (!is_null($post)) {
6161
$postTypeHelper = vchelper('PostType');
62-
$editorTypeSlug = $postTypeHelper->getEditorTypeToByPostTypeDependecy(get_post_type($id));
62+
$editorTypeSlug = $postTypeHelper->getEditorTypeByPostTypeDependecy(get_post_type($id));
6363
$result[] = [
6464
'id' => $id,
6565
'editableLink' => $frontendHelper->getEditableUrl($id),

visualcomposer/Helpers/PostType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ public function updateCustomPostRoleCapabilityMigration($postType)
483483
* @param string $post_type
484484
* @return string
485485
*/
486-
public function getEditorTypeToByPostTypeDependecy($post_type)
486+
public function getEditorTypeByPostTypeDependecy($post_type)
487487
{
488488
$dependentList = [
489489
'vcv_headers' => 'header',

0 commit comments

Comments
 (0)