Problem/Motivation

Functions and methods lack clear return type declarations, causing potential type-related errors in the codebase.

Proposed resolution

Add explicit return type declarations to functions and methods to define expected return types clearly. This change improves code clarity, reduces ambiguity, and helps prevent type-related errors.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

KuzyaWkk created an issue. See original summary.

kuzyawkk’s picture

Assigned: kuzyawkk » Unassigned
Status: Active » Needs review

  • johnv committed 041dc12d on 8.x-1.x
    Issue #3463128 by kuzyawkk: Return type declarations
    
johnv’s picture

Title: Return type declarations » Add return type declarations to functions
Status: Needs review » Fixed

Thanks, committed as-is.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.