Skip to content

Commit

Permalink
Fix function documentation coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
manooweb committed Mar 8, 2021
1 parent 93e88e8 commit 168d1eb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/editor-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ function gutenberg_extend_post_editor_settings( $settings ) {
/**
* Initialize a block-based editor.
*
* @param $settings {
* @param array $settings {
* Elements to initialize a block-based editor.
*
* @param array $preload_paths paths need to be preloaded.
* @param string $editor_name editor name.
* @param string $editor_script_handle editor script handle.
* @param string $initializer_name editor initialization function name.
* @param array $editor_settings editor settings.
* @type array $preload_paths paths need to be preloaded.
* @type string $editor_name editor name.
* @type string $editor_script_handle editor script handle.
* @type string $initializer_name editor initialization function name.
* @type array $editor_settings editor settings.
* }
* @return void
*/
Expand All @@ -110,7 +110,7 @@ function gutenberg_initialize_editor( $settings ) {

$preload_paths = apply_filters( "{$settings['editor_name']}_preload_paths", $settings['preload_paths'] );

$preload_data = array_reduce(
$preload_data = array_reduce(
$preload_paths,
'rest_preload_api_request',
array()
Expand Down

0 comments on commit 168d1eb

Please sign in to comment.