Do not use the null coalescing operator when not necessary

Created on 18 March 2024, 9 months ago
Updated 1 April 2024, 9 months ago

GitLab CI shows the following PHPStan issues.

  Line   src/Plugin/DisplayFieldsField/FieldReference.php                       
 ------ ----------------------------------------------------------------------- 
  64     Variable $display_settings on left side of ?? always exists and is     
         not nullable.                                                          
  134    Variable $field_display_settings on left side of ?? always exists and  
         is not nullable.                                                       

 
 
The null coalescing operator should not be used for values that cannot be null.

📌 Task
Status

Fixed

Version

9.1

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024