[wp-trac] [WordPress Trac] #61705: Docs: Correct @return value for _get_block_templates_files().

WordPress Trac noreply at wordpress.org
Fri Jul 19 05:57:18 UTC 2024


#61705: Docs: Correct @return value for _get_block_templates_files().
--------------------------+------------------------------
 Reporter:  dilipbheda    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+------------------------------

Comment (by mukesh27):

 Hi there!

 I thought we should add some description for return type.

 `@return array|null The Template files, or null if $template_type not
 matched.`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61705#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list