Make WordPress Core


Ignore:
Timestamp:
06/19/2020 10:53:54 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Remove unnecessary variables names from @return tags.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/privacy/wpPrivacySendPersonalDataExportEmail.php

    r47279 r48100  
    168168     *
    169169     * @param int $expiration The expiration age of the export, in seconds.
    170      * @return int $expiration The expiration age of the export, in seconds.
     170     * @return int The expiration age of the export, in seconds.
    171171     */
    172172    public function modify_export_expiration( $expiration ) {
     
    195195     *
    196196     * @param  string $user_email The email address of the notification recipient.
    197      * @return string $user_email The modified email address of the notification recipient.
     197     * @return string The modified email address of the notification recipient.
    198198     */
    199199    public function filter_email_address( $user_email ) {
     
    221221     *
    222222     * @param string $subject The email subject.
    223      * @return string $subject The email subject.
     223     * @return string The email subject.
    224224     */
    225225    public function filter_email_subject( $subject ) {
     
    247247     * @param string $email_text Text in the email.
    248248     * @param int    $request_id The request ID for this personal data export.
    249      * @return string $email_text Text in the email.
     249     * @return string Text in the email.
    250250     */
    251251    public function modify_email_content( $email_text, $request_id ) {
     
    275275     *
    276276     * @param string|array $headers The email headers.
    277      * @return array       $headers The new email headers.
     277     * @return array The new email headers.
    278278     */
    279279    public function modify_email_headers( $headers ) {
     
    320320     * }
    321321     *
    322      * @return string $email_text Text in the email.
     322     * @return string Text in the email.
    323323     */
    324324    public function modify_email_content_with_email_data( $email_text, $request_id, $email_data ) {
Note: See TracChangeset for help on using the changeset viewer.