Verified Commit 7fe5869f authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3295157 by mondrake: Fix 'Access to an undefined property' PHPStan L0...

Issue #3295157 by mondrake: Fix 'Access to an undefined property' PHPStan L0 errors - public properties

(cherry picked from commit f76cebd1)
parent 14c41316
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -118,6 +118,16 @@ class Select extends Query implements SelectInterface {
   */
  protected $forUpdate = FALSE;

  /**
   * The query metadata for alter purposes.
   */
  public array $alterMetaData;

  /**
   * The query tags.
   */
  public array $alterTags;

  /**
   * Constructs a Select object.
   *
+5 −0
Original line number Diff line number Diff line
@@ -49,6 +49,11 @@ class Extension {
   */
  protected $root;

  /**
   * The extension info array.
   */
  public array $info;

  /**
   * Constructs a new Extension object.
   *
+5 −0
Original line number Diff line number Diff line
@@ -49,6 +49,11 @@ class BaseFieldOverride extends FieldConfigBase {
   */
  protected $baseFieldDefinition;

  /**
   * The original override.
   */
  public BaseFieldOverride $original;

  /**
   * Creates a base field override object.
   *
+5 −0
Original line number Diff line number Diff line
@@ -15,6 +15,11 @@
 */
class StatisticsLastCommentName extends FieldPluginBase {

  /**
   * The user id.
   */
  public string $uid;

  /**
   * {@inheritdoc}
   */
+6 −1
Original line number Diff line number Diff line
@@ -27,7 +27,12 @@ class Rss extends RssPluginBase {
  /**
   * {@inheritdoc}
   */
  protected $base_field = 'cid';
  public string $base_field = 'cid';

  /**
   * The field alias.
   */
  public string $field_alias;

  /**
   * @var \Drupal\comment\CommentInterface[]
Loading